Merge commit 'v2.6.26-rc8' into core/rcu

This commit is contained in:
Ingo Molnar
2008-06-26 09:24:23 +02:00
melakukan 9a13150109
49 mengubah file dengan 647 tambahan dan 500 penghapusan

Melihat File

@@ -512,7 +512,7 @@ static ssize_t sn2_ptc_proc_write(struct file *file, const char __user *user, si
int cpu;
char optstr[64];
if (count > sizeof(optstr))
if (count == 0 || count > sizeof(optstr))
return -EINVAL;
if (copy_from_user(optstr, user, count))
return -EFAULT;