]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
libext2fs: add checks for block number wrapping for bitmap range functions
authorTheodore Ts'o <tytso@mit.edu>
Wed, 30 Jan 2019 04:07:27 +0000 (23:07 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 30 Jan 2019 04:07:27 +0000 (23:07 -0500)
commit92c5594969caad29ffd333441ac85bdaa4b7ac3e
tree72311a2c2d614d0494ce1c2dbe1b325b38bd6fc2
parentf13a7c2fdfa96f07701e7dd295bddc1dd85fd6a6
libext2fs: add checks for block number wrapping for bitmap range functions

This fixes potential seg faults when opening a fuzzed file system with
block group descriptors containing a bogus inode table location.

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