]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
libext2fs: reject opening a file system where the blocks per group < 8
authorTheodore Ts'o <tytso@mit.edu>
Wed, 1 Feb 2023 15:47:47 +0000 (10:47 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 1 Feb 2023 15:47:47 +0000 (10:47 -0500)
commitaf37d677e507a97f4ade39b247cf7ff26d9e0624
tree2019db6e495c21242dc5033978e1baa68bd8f97e
parent0bc1e30fcd5fb174d029f2b52921f9138e0efb33
libext2fs: reject opening a file system where the blocks per group < 8

A file system where the superblock claims that the blocks per group is
less than 8 is invalid, so let's reject it at ext2fs_open() time.

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