diff
- cmd_buf = memdup_user(buf, count);
+ cmd_buf = strndup_user(buf, count);
