Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98433
b: refs/heads/master
c: 8097110
h: refs/heads/master
i:
  98431: a3b24e6
v: v3
  • Loading branch information
Cliff Wickman authored and Tony Luck committed Jun 24, 2008
1 parent 5496179 commit be20c80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2826f8c0f4c97b7db33e2a680f184d828eb7a785
refs/heads/master: 8097110d179b874d91c6495330c2b96c991e8c6e
2 changes: 1 addition & 1 deletion trunk/arch/ia64/sn/kernel/sn2/sn2_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit be20c80

Please sign in to comment.