diff options
author | Davi Arnaut <davi.arnaut@gmail.com> | 2006-02-03 03:04:46 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-03 08:32:10 -0800 |
commit | 6d94074f0804143eac6bce72dc04447c0040e7d8 (patch) | |
tree | 2833a03682e12d81d4bd849435cd9f95e64e9350 /drivers/char/ip2main.c | |
parent | 353368dffb56b066cbe00264581a56caf0241b29 (diff) |
[PATCH] Fix keyctl usage of strnlen_user()
In the small window between strnlen_user() and copy_from_user() userspace
could alter the terminating `\0' character.
Signed-off-by: Davi Arnaut <davi.arnaut@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/ip2main.c')
0 files changed, 0 insertions, 0 deletions