Whamcloud - gitweb
e2fsck: enforce that the extra isize fields in the superblock are sane
authorTheodore Ts'o <tytso@mit.edu>
Sun, 4 Sep 2016 21:31:07 +0000 (17:31 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 4 Sep 2016 21:41:20 +0000 (17:41 -0400)
commit047d5d774fe56908a2986dc194d9df7b6a8724c6
tree2cb4fe10ce3ba12950076dabee84fc3604a62333
parenta7b27f11a1639591e10200b6a6e70edf4726a199
e2fsck: enforce that the extra isize fields in the superblock are sane

Invalid extra isize fields can cause crashes in e2fsprogs and possibly
in the kernel for some architectures due to unaligned accesses.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/problem.c
e2fsck/problem.h
e2fsck/super.c
tests/f_sb_extra_isize/expect.1 [new file with mode: 0644]
tests/f_sb_extra_isize/expect.2 [new file with mode: 0644]
tests/f_sb_extra_isize/image.gz [new file with mode: 0644]
tests/f_sb_extra_isize/name [new file with mode: 0644]