• Jan Kara's avatar
    udf: Fix crash during mount · b085fbe2
    Jan Kara authored
    Fix a crash during an attempt to mount a filesystem that has both
    Unallocated Space Table and Unallocated Space Bitmap. Such filesystem
    actually violates the UDF standard so we just have to properly detect
    such situation and refuse to mount such filesystem read-write. When we
    are at it, verify also other constraints on the allocation information
    mandated by the standard.
    Reported-by: default avatarAnatoly Trosinenko <anatoly.trosinenko@gmail.com>
    Signed-off-by: default avatarJan Kara <jack@suse.cz>
    b085fbe2
super.c 66.7 KB