]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
libext2fs: verify the block numbers for the allocation bitmaps are valid
authorTheodore Ts'o <tytso@mit.edu>
Fri, 8 Nov 2019 16:58:10 +0000 (11:58 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 8 Nov 2019 17:02:48 +0000 (12:02 -0500)
commitb99ffaffc94b0395d865d1e2410cdb2e9a0bbdde
tree327f073d461c2f1b4a9e667a82537ac8472f9949
parenta2a8cec68c69583b8de5409ade3cd641c7d4cef7
libext2fs: verify the block numbers for the allocation bitmaps are valid

This avoids a potential UBsan failure when we multiply an insanely
high block number with the block size and we get a multiplication
overflow.

Google-Bug-Id: 128130353
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/rw_bitmaps.c