]> www.infradead.org Git - users/jedix/linux-maple.git/commit
udf: Avoid excessive partition lengths
authorJan Kara <jack@suse.cz>
Thu, 20 Jun 2024 10:52:17 +0000 (12:52 +0200)
committerJan Kara <jack@suse.cz>
Wed, 26 Jun 2024 10:54:11 +0000 (12:54 +0200)
commitebbe26fd54a9621994bc16b14f2ba8f84c089693
treec6bed2daa274947b3c3350ce510f1f4772d8d1d9
parent8037da38d33cd354deafc41eee62da0fbcb5135c
udf: Avoid excessive partition lengths

Avoid mounting filesystems where the partition would overflow the
32-bits used for block number. Also refuse to mount filesystems where
the partition length is so large we cannot safely index bits in a
block bitmap.

Link: https://patch.msgid.link/20240620130403.14731-1-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/super.c