btrfs-progs: add fuzzed testing images, superblock and chunks
authorLiu Bo <bo.li.liu@oracle.com>
Mon, 2 May 2016 18:18:55 +0000 (11:18 -0700)
committerDavid Sterba <dsterba@suse.com>
Wed, 11 May 2016 14:37:48 +0000 (16:37 +0200)
commitf2873c47d74c5972cec555620716a3753c02cb2b
tree2c7fe0e4899631bd37d8dd8dbff84f531e06e1ea
parente58105df6086d1d13466981c9f28ecea9c08b749
btrfs-progs: add fuzzed testing images, superblock and chunks

This adds 4 fuzz testing images, btrfsck either doesn't detect errors
in them or crashes immediately.

Reported-by: Vegard Nossum <vegard.nossum@oracle.com>
Reported-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
tests/fuzz-tests/images/superblock-stripsize-bogus.raw.txt [new file with mode: 0644]
tests/fuzz-tests/images/superblock-stripsize-bogus.raw.xz [new file with mode: 0644]
tests/fuzz-tests/images/superblock-total-bytes-0.raw.txt [new file with mode: 0644]
tests/fuzz-tests/images/superblock-total-bytes-0.raw.xz [new file with mode: 0644]
tests/fuzz-tests/images/sys-chunk-stripe-len-bogus.raw.txt [new file with mode: 0644]
tests/fuzz-tests/images/sys-chunk-stripe-len-bogus.raw.xz [new file with mode: 0644]
tests/fuzz-tests/images/sys-chunk-type-bogus.raw.txt [new file with mode: 0644]
tests/fuzz-tests/images/sys-chunk-type-bogus.raw.xz [new file with mode: 0644]