]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fsck.cramfs: fix crash when superblock size is too small
authorRuediger Meier <ruediger.meier@ga-group.nl>
Tue, 23 Jan 2018 15:59:23 +0000 (16:59 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 24 Jan 2018 11:53:31 +0000 (12:53 +0100)
commit2374b1ab75c66c9ecea86fc97abb6d6c048bcf45
tree522a10d56c5b963514f76fc2577481d902c1350d
parent919e372da872bcc37502783e80564654569edb22
fsck.cramfs: fix crash when superblock size is too small

This hopefully fixes the original problem addressed by the reverted
patch 7cb962c7.

The bug was introduced by myself in
    f991dbd3 "fsck.cramfs: allow smaller superblock sizes"

CC: Tobias Stoeckmann <tobias@stoeckmann.org>
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
disk-utils/fsck.cramfs.c
tests/expected/cramfs/fsck-bad-header
tests/ts/cramfs/fsck-bad-header