https://github.com/torvalds/linux
Revision ef1f7a7e878e4ae37b3a78ebdeef9f911bae59df authored by Bernd Schmidt on 06 October 2009, 08:55:26 UTC, committed by Linus Torvalds on 11 October 2009, 18:33:56 UTC
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>
1 parent c6c5992
History
Tip revision: ef1f7a7e878e4ae37b3a78ebdeef9f911bae59df authored by Bernd Schmidt on 06 October 2009, 08:55:26 UTC
ROMFS: fix length used with romfs_dev_strnlen() function
Tip revision: ef1f7a7
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 952 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 154.8 KB
Makefile -rw-r--r-- 55.4 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top