• J
    udf: Fix crash during mount · 0204720d
    Jan Kara 提交于
    [ Upstream commit b085fbe2ef7fa7489903c45271ae7b7a52b0f9ab ]
    
    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: NAnatoly Trosinenko <anatoly.trosinenko@gmail.com>
    Signed-off-by: NJan Kara <jack@suse.cz>
    Signed-off-by: NSasha Levin <sashal@kernel.org>
    0204720d
super.c 66.8 KB