Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99835
b: refs/heads/master
c: e7eb872
h: refs/heads/master
i:
  99833: ed68d28
  99831: 762ca6e
v: v3
  • Loading branch information
Cliff Wickman authored and Ingo Molnar committed Jul 8, 2008
1 parent ba2d604 commit b3f5a2c
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: cef53278682eb2604cbd99de64cdb59a8b35235a
refs/heads/master: e7eb8726d0e144f0925972c4ecee945e91a42753
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/tlb_uv.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ static ssize_t uv_ptc_proc_write(struct file *file, const char __user *user,
long newmode;
char optstr[64];

if (count > 64)
if (count == 0 || count > sizeof(optstr))
return -EINVAL;
if (copy_from_user(optstr, user, count))
return -EFAULT;
Expand Down

0 comments on commit b3f5a2c

Please sign in to comment.