1
0
Fork 0
alistair23-linux/fs/romfs
Bernd Schmidt ef1f7a7e87 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>
2009-10-11 11:33:56 -07:00
..
Kconfig NOMMU: Fix the RomFS Kconfig to ensure at least one backing store is selected 2009-03-24 09:02:39 +00:00
Makefile NOMMU: Make it possible for RomFS to use MTD devices directly 2009-03-24 09:01:32 +00:00
internal.h ROMFS: romfs_lookup() shouldn't be doing a partial name comparison 2009-04-24 13:28:31 -07:00
mmap-nommu.c NOMMU: Make it possible for RomFS to use MTD devices directly 2009-03-24 09:01:32 +00:00
storage.c ROMFS: fix length used with romfs_dev_strnlen() function 2009-10-11 11:33:56 -07:00
super.c fs/romfs: correct error-handling code 2009-09-24 07:21:05 -07:00