btrfs-progs/tests/fuzz-tests/images/bad-superblock.txt
David Sterba a365b84a32 btrfs-progs: tests: add crafted and fuzzed images
A collection of several images that were produced in a non-standard way
and cause various errors in check or image tools. They do not fit into
the fsck tests as we're not able to repair any of them, but the tools
should not crash or do out-of-bounds access.

Signed-off-by: David Sterba <dsterba@suse.com>
2015-09-09 17:09:01 +02:00

18 lines
510 B
Plaintext

bad-superblock-*.txt
Crafted images from Jiri Slaby, produced by some symbolic execution framework
that finds unhandled cases at mount time.
Relevant kernel patches to backport:
e3540eab29e1b2260bc4b9b3979a49a00e3e3af8
btrfs: add more checks to btrfs_read_sys_array
ce7fca5f57ed0fcd7e7b3d7b1a3e1791f8e56fa3
btrfs: add checks for sys_chunk_array sizes
75d6ad382bb91f363452119d34238e156589ca2d
btrfs: more superblock checks, lower bounds on devices and sectorsize/nodesize
(and more from fs/btrfs/super.c)