summaryrefslogtreecommitdiffstats
path: root/fs/udf/balloc.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2018-09-06 15:46:17 +0200
committerJan Kara <jack@suse.cz>2018-09-07 10:32:22 +0200
commitb085fbe2ef7fa7489903c45271ae7b7a52b0f9ab (patch)
treeae5f90c244fc54daf94d51f56bb9c144562ecaad /fs/udf/balloc.c
parenta9ad01bc759df79b0012f43ee52164391e31cd96 (diff)
downloadlinux-b085fbe2ef7fa7489903c45271ae7b7a52b0f9ab.tar.bz2
udf: Fix crash during mount
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: Anatoly Trosinenko <anatoly.trosinenko@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/balloc.c')
0 files changed, 0 insertions, 0 deletions