android_kernel_oneplus_msm8998/fs/udf
Jan Kara ea59fcf67d udf: Fix BUG on corrupted inode
[ Upstream commit d288d95842f1503414b7eebce3773bac3390457e ]

When inode is corrupted so that extent type is invalid, some functions
(such as udf_truncate_extents()) will just BUG. Check that extent type
is valid when loading the inode to memory.

Reported-by: Anatoly Trosinenko <anatoly.trosinenko@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-02-20 10:13:09 +01:00
..
balloc.c
dir.c
directory.c udf: Detect incorrect directory size 2018-07-03 11:21:34 +02:00
ecma_167.h
file.c
ialloc.c
inode.c udf: Fix BUG on corrupted inode 2019-02-20 10:13:09 +01:00
Kconfig
lowlevel.c
Makefile
misc.c
namei.c do d_instantiate/unlock_new_inode combinations safely 2018-05-30 07:48:52 +02:00
osta_udf.h
partition.c
super.c udf: Provide saner default for invalid uid / gid 2018-05-30 07:49:15 +02:00
symlink.c
truncate.c
udf_i.h
udf_sb.h
udfdecl.h
udfend.h
udftime.c
unicode.c udf: Check output buffer length when converting name to CS0 2016-02-25 12:01:18 -08:00