kernel_optimize_test/fs/udf
Jan Kara c03aa9f6e1 udf: Avoid infinite loop when processing indirect ICBs
We did not implement any bound on number of indirect ICBs we follow when
loading inode. Thus corrupted medium could cause kernel to go into an
infinite loop, possibly causing a stack overflow.

Fix the possible stack overflow by removing recursion from
__udf_read_inode() and limit number of indirect ICBs we follow to avoid
infinite loops.

Signed-off-by: Jan Kara <jack@suse.cz>
2014-09-04 14:12:29 +02:00
..
balloc.c
dir.c [readdir] convert udf 2013-06-29 12:46:50 +04:00
directory.c
ecma_167.h
file.c udf: avoid redundant memcpy when writing data in ICB 2014-07-15 22:40:24 +02:00
ialloc.c udf: Fortify LVID loading 2013-09-24 11:23:33 +02:00
inode.c udf: Avoid infinite loop when processing indirect ICBs 2014-09-04 14:12:29 +02:00
Kconfig
lowlevel.c udf: use linux/uaccess.h 2014-07-15 22:40:23 +02:00
Makefile
misc.c
namei.c udf: avoid unneeded up_write when fail to add entry in ->symlink 2014-08-19 18:29:30 +02:00
osta_udf.h
partition.c
super.c udf: use linux/uaccess.h 2014-07-15 22:40:23 +02:00
symlink.c udf: use linux/uaccess.h 2014-07-15 22:40:23 +02:00
truncate.c udf: Do not decrement i_blocks when freeing indirect extent block 2012-07-09 13:24:21 +02:00
udf_i.h udf: add extent cache support in case of file reading 2013-01-22 10:48:31 +01:00
udf_sb.h udf: Fortify LVID loading 2013-09-24 11:23:33 +02:00
udfdecl.h udf: add extent cache support in case of file reading 2013-01-22 10:48:31 +01:00
udfend.h
udftime.c
unicode.c fs/udf: re-use hex_asc_upper_{hi,lo} macros 2014-07-15 22:40:24 +02:00