summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/smsgiucv.c
diff options
context:
space:
mode:
authorGerald Schaefer <geraldsc@de.ibm.com>2006-03-07 21:55:37 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-08 14:14:01 -0800
commit331c46591414f7f92b1cec048009abe89892ee79 (patch)
treece19fbf200bcef3d0802f59fb5aed5b17005c089 /drivers/s390/net/smsgiucv.c
parente96fb230cc97760e448327c0de612cfba94ca7bf (diff)
downloadkernel-crypto-331c46591414f7f92b1cec048009abe89892ee79.tar.gz
kernel-crypto-331c46591414f7f92b1cec048009abe89892ee79.tar.xz
kernel-crypto-331c46591414f7f92b1cec048009abe89892ee79.zip
[PATCH] s390: fix strnlen_user return value
strnlen_user is supposed to return then length count + 1 if no terminating \0 is found, and it should return 0 on exception. Found by David Howells <dhowells@redhat.com>. Signed-off-by: Gerald Schaefer <geraldsc@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Acked-By: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/s390/net/smsgiucv.c')
0 files changed, 0 insertions, 0 deletions