diff options
author | Bernd Schmidt <bernds_cb1@t-online.de> | 2009-10-06 10:55:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-11 20:33:56 +0200 |
commit | ef1f7a7e878e4ae37b3a78ebdeef9f911bae59df (patch) | |
tree | e73d6e0e852d370effdb9e6fb624e696321683ac /net/rds/tcp_recv.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 (diff) | |
download | linux-ef1f7a7e878e4ae37b3a78ebdeef9f911bae59df.tar.xz linux-ef1f7a7e878e4ae37b3a78ebdeef9f911bae59df.zip |
ROMFS: fix length used with romfs_dev_strnlen() function
An interestingly corrupted romfs file system exposed a problem with the
romfs_dev_strnlen function: it's passing the wrong value to its helpers.
Rather than limit the string to the length passed in by the callers, it
uses the size of the device as the limit.
Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/rds/tcp_recv.c')
0 files changed, 0 insertions, 0 deletions