commit | 46171c3288228a0200f677d166080fd856f21980 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Wed Dec 12 14:29:20 2018 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Feb 12 19:44:55 2019 +0100 |
tree | be3f06bf0194a1bac53af6700982bfda637801e5 | |
parent | f12dcce8351907abffc6a4b6b4f39629ee4b274d [diff] |
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>