diff options
author | Davi Arnaut <davi.arnaut@gmail.com> | 2006-02-01 03:06:40 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-01 08:53:25 -0800 |
commit | 172411f10c25bbd81b19f67566af6a7f549f46a9 (patch) | |
tree | 1a4bf56e53fdc6ea51cc2a72957e0eee710a284f /drivers/sn | |
parent | 46d0d2c811c8e9dd5cffdc3a5c03d988eb5a2996 (diff) | |
download | op-kernel-dev-172411f10c25bbd81b19f67566af6a7f549f46a9.zip op-kernel-dev-172411f10c25bbd81b19f67566af6a7f549f46a9.tar.gz |
[PATCH] ebcdic do_kdsk_ioctl off-by-one
Add a missing return check from strnlen_user and fixes a off-by-one when
terminating the string with zero.
Signed-off-by: Davi Arnaut <davi.arnaut@gmail.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/sn')
0 files changed, 0 insertions, 0 deletions