Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114724
b: refs/heads/master
c: 362e666
h: refs/heads/master
v: v3
  • Loading branch information
Jason Baron authored and Linus Torvalds committed Oct 16, 2008
1 parent 87e0007 commit b0452b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: 9679e4dd628743b9ef4375d60ae69923c3766173
refs/heads/master: 362e6663ef2369d77251496d865ad02a2376f962
2 changes: 1 addition & 1 deletion trunk/fs/compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ static int compat_count(compat_uptr_t __user *argv, int max)
if (!p)
break;
argv++;
if(++i > max)
if (i++ >= max)
return -E2BIG;
}
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ static int count(char __user * __user * argv, int max)
if (!p)
break;
argv++;
if(++i > max)
if (i++ >= max)
return -E2BIG;
cond_resched();
}
Expand Down

0 comments on commit b0452b4

Please sign in to comment.