btrfs-progs: tests: add crafted and fuzzed images
authorDavid Sterba <dsterba@suse.com>
Wed, 9 Sep 2015 15:04:12 +0000 (17:04 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 9 Sep 2015 15:09:01 +0000 (17:09 +0200)
commita365b84a322f6c5e208c167b3d64a58bfbd726ad
treec5fc4ebddeda692c9b2b1120b340dd7021c837b2
parentafff169e1a16795e6d150536ac146481f39d9e82
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>
12 files changed:
tests/fuzz-tests/images/bad-superblock-1.raw.xz [new file with mode: 0644]
tests/fuzz-tests/images/bad-superblock-2.raw.xz [new file with mode: 0644]
tests/fuzz-tests/images/bad-superblock-3.raw.xz [new file with mode: 0644]
tests/fuzz-tests/images/bad-superblock.txt [new file with mode: 0644]
tests/fuzz-tests/images/bko-104131-fsck-oob-read.raw.xz [new file with mode: 0644]
tests/fuzz-tests/images/bko-104131-fsck-oob-read.txt [new file with mode: 0644]
tests/fuzz-tests/images/bko-104141-fsck-exception.raw.xz [new file with mode: 0644]
tests/fuzz-tests/images/bko-104141-fsck-exception.txt [new file with mode: 0644]
tests/fuzz-tests/images/bko-97191-btrfs-image.raw.txt [new file with mode: 0644]
tests/fuzz-tests/images/bko-97191-btrfs-image.raw.xz [new file with mode: 0644]
tests/fuzz-tests/images/bko-97271-btrfs-image.raw.txt [new file with mode: 0644]
tests/fuzz-tests/images/bko-97271-btrfs-image.raw.xz [new file with mode: 0644]