• Jan Kara's avatar
    udf: Fortify LVID loading · 69d75671
    Jan Kara authored
    A user has reported an oops in udf_statfs() that was caused by
    numOfPartitions entry in LVID structure being corrupted. Fix the problem
    by verifying whether numOfPartitions makes sense at least to the extent
    that LVID fits into a single block as it should.
    Reported-by: default avatarJuergen Weigert <jw@suse.com>
    Signed-off-by: default avatarJan Kara <jack@suse.cz>
    69d75671
super.c 63.8 KB