aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2022-07-26 13:13:50 +0200
committerJan Kara <[email protected]>2022-07-26 13:24:04 +0200
commitfa78f336937240d1bc598db817d638086060e7e9 (patch)
tree2ea5ad4a49ba397fce611a5fc5b8c5d4cd89d812 /lib/mpi/mpi-sub-ui.c
parentbd6e21a9044ffc0d15cc362dcc10662e644a43bc (diff)
ext2: Add more validity checks for inode counts
Add checks verifying number of inodes stored in the superblock matches the number computed from number of inodes per group. Also verify we have at least one block worth of inodes per group. This prevents crashes on corrupted filesystems. Reported-by: [email protected] Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions