Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62439
b: refs/heads/master
c: 48dd934
h: refs/heads/master
i:
  62437: e3a7a89
  62435: 2d87f06
  62431: 8738b80
v: v3
  • Loading branch information
Robert P. J. Day authored and Linus Torvalds committed Jul 22, 2007
1 parent ab44811 commit 0dbe477
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: 267eb01a62b1190d0bf87b1ef3b0c9d21cdb2c57
refs/heads/master: 48dd9343d0bb54362a2ba65380fea7c8f07f9e74
2 changes: 1 addition & 1 deletion trunk/include/asm-i386/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ long __must_check __strncpy_from_user(char *dst,
* If there is a limit on the length of a valid string, you may wish to
* consider using strnlen_user() instead.
*/
#define strlen_user(str) strnlen_user(str, ~0UL >> 1)
#define strlen_user(str) strnlen_user(str, LONG_MAX)

long strnlen_user(const char __user *str, long n);
unsigned long __must_check clear_user(void __user *mem, unsigned long len);
Expand Down

0 comments on commit 0dbe477

Please sign in to comment.