diff options
author | 2022-07-26 13:13:50 +0200 | |
---|---|---|
committer | 2022-07-26 13:24:04 +0200 | |
commit | fa78f336937240d1bc598db817d638086060e7e9 (patch) | |
tree | 2ea5ad4a49ba397fce611a5fc5b8c5d4cd89d812 /scripts/generate_rust_analyzer.py | |
parent | fs/reiserfs/inode: remove dead code in _get_block_create_0() (diff) | |
download | wireguard-linux-fa78f336937240d1bc598db817d638086060e7e9.tar.xz wireguard-linux-fa78f336937240d1bc598db817d638086060e7e9.zip |
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: syzbot+d273f7d7f58afd93be48@syzkaller.appspotmail.com
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions