diff options
author | Jan Kara <jack@suse.cz> | 2018-12-12 14:29:20 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-12 19:46:03 +0100 |
commit | 285187e29616daed36a77812a96f1666eb2d6c5d (patch) | |
tree | 4081eeb242dd16bb035e799cdf846902e1a665ef /lib | |
parent | 6d1709b73d6b4da752e86c207bd7016daede0fa0 (diff) | |
download | linux-stable-285187e29616daed36a77812a96f1666eb2d6c5d.tar.gz linux-stable-285187e29616daed36a77812a96f1666eb2d6c5d.tar.bz2 linux-stable-285187e29616daed36a77812a96f1666eb2d6c5d.zip |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions