diff options
author | Jan Kara <jack@suse.cz> | 2021-05-03 11:39:03 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-08-11 16:54:44 +0200 |
commit | 781d2a9a2fc7d0be53a072794dc03ef6de770f3d (patch) | |
tree | cb831d5ca816c91b3a3cd00a180f818b8d75dd08 /lib/mpi/mpi-sub-ui.c | |
parent | 902e7f373fff2476b53824264c12e4e76c7ec02a (diff) |
udf: Check LVID earlier
We were checking validity of LVID entries only when getting
implementation use information from LVID in udf_sb_lvidiu(). However if
the LVID is suitably corrupted, it can cause problems also to code such
as udf_count_free() which doesn't use udf_sb_lvidiu(). So check validity
of LVID already when loading it from the disk and just disable LVID
altogether when it is not valid.
Reported-by: syzbot+7fbfe5fed73ebb675748@syzkaller.appspotmail.com
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions