]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
libext2fs: in ext2fs_open[2](), return an error if s_first_meta_bg is too big
authorTheodore Ts'o <tytso@mit.edu>
Tue, 13 Sep 2022 11:59:52 +0000 (07:59 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 13 Sep 2022 11:59:52 +0000 (07:59 -0400)
commit281dcbfb1d59d0db95d4f81b8b9c275d87515ceb
tree43aad23d5d8b36b5772827b989e719b4b8308575
parenta721b865d97cef58d7bca3bd03c8190342da79e8
libext2fs: in ext2fs_open[2](), return an error if s_first_meta_bg is too big

These checks will be skipped for e2fsck when it uses the flag
EXT2_FLAG_IGNORE_SB_ERRORS.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/openfs.c
tests/f_first_meta_bg_too_big/expect.1