]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - e2fsck/super.c
e2fsck, libext2fs: add checks for insanely large file systems
authorTheodore Ts'o <tytso@mit.edu>
Tue, 5 Sep 2017 00:32:22 +0000 (20:32 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 6 Sep 2017 14:20:53 +0000 (10:20 -0400)
commit32cb8473028406697502ba6698462ba3df909a46
treebee8d0c55b0b07da88ce6f5b6d2a627676207cc3
parent8e86ecf704a2c3aa158095451e9e15c61ffc7f11
e2fsck, libext2fs: add checks for insanely large file systems

If the blocks count field is too large, this can cause numeric
overflows which can result in buffer overflows.

Addresses-Debian-Bug: #873757

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reported-by: Jakub Wilk <jwilk@jwilk.net>
e2fsck/super.c
lib/ext2fs/openfs.c