android_kernel_xiaomi_sm8350/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
..
internal.h ROMFS: romfs_lookup() shouldn't be doing a partial name comparison 2009-04-24 13:28:31 -07:00
Kconfig
Makefile
mmap-nommu.c
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