summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-08-25 19:21:01 +0200
committerDavid Sterba <dsterba@suse.com>2017-09-08 16:15:05 +0200
commit092698b40ac77d181c51d6aa020a03f9b164069b (patch)
tree827f4bb6877ff9352f4dd759615a5c5a59abf605 /tests
parent9b47f18aec5afb87e2271acc2c39cdc698658f7d (diff)
btrfs-progs: tests: add more fuzzed images from bugzilla
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fuzz-tests/images/bko-155551-unaligned-tree-block.raw.txt49
-rw-r--r--tests/fuzz-tests/images/bko-155551-unaligned-tree-block.raw.xzbin0 -> 3692 bytes
2 files changed, 49 insertions, 0 deletions
diff --git a/tests/fuzz-tests/images/bko-155551-unaligned-tree-block.raw.txt b/tests/fuzz-tests/images/bko-155551-unaligned-tree-block.raw.txt
new file mode 100644
index 00000000..498896c1
--- /dev/null
+++ b/tests/fuzz-tests/images/bko-155551-unaligned-tree-block.raw.txt
@@ -0,0 +1,49 @@
+URL: https://bugzilla.kernel.org/show_bug.cgi?id=155551
+Lukas Lueg 2016-08-29 20:44:04 UTC
+
+More news from the fuzzer. The attached image causes btrfsck to enter what
+seems to be an endless loop; using btrfs-progs v4.7-42-g56e9586.
+
+Couldn't map the block 18446744073709551607
+No mapping for 18446744073709551607-4087
+Couldn't map the block 18446744073709551607
+bytenr mismatch, want=18446744073709551607, have=0
+checking extents
+parent transid verify failed on 4194304 wanted 169 found 4
+Ignoring transid failure
+parent transid verify failed on 4194304 wanted 169 found 4
+Ignoring transid failure
+parent transid verify failed on 4194304 wanted 169 found 4
+Ignoring transid failure
+parent transid verify failed on 4194304 wanted 169 found 4
+Ignoring transid failure
+parent transid verify failed on 4194304 wanted 169 found 4
+Ignoring transid failure
+parent transid verify failed on 4194304 wanted 169 found 4
+Ignoring transid failure
+parent transid verify failed on 4194304 wanted 169 found 4
+Ignoring transid failure
+parent transid verify failed on 4194304 wanted 169 found 4
+Ignoring transid failure
+parent transid verify failed on 4194304 wanted 169 found 4
+Ignoring transid failure
+Couldn't map the block 419430592
+No mapping for 419430592-419434688
+Couldn't map the block 419430592
+bytenr mismatch, want=419430592, have=0
+Couldn't map the block 36283884701696
+No mapping for 36283884701696-36283884705792
+Couldn't map the block 36283884701696
+bytenr mismatch, want=36283884701696, have=0
+Couldn't map the block 18446744073709551607
+No mapping for 18446744073709551607-4087
+Couldn't map the block 18446744073709551607
+bytenr mismatch, want=18446744073709551607, have=0
+Couldn't map the block 18446744073709551607
+No mapping for 18446744073709551607-4087
+Couldn't map the block 18446744073709551607
+bytenr mismatch, want=18446744073709551607, have=0
+Couldn't map the block 18446744073709551607
+No mapping for 18446744073709551607-4087
+Couldn't map the block 18446744073709551607
+bytenr mismatch, want=18446744073709551607, have=0
diff --git a/tests/fuzz-tests/images/bko-155551-unaligned-tree-block.raw.xz b/tests/fuzz-tests/images/bko-155551-unaligned-tree-block.raw.xz
new file mode 100644
index 00000000..f60271e2
--- /dev/null
+++ b/tests/fuzz-tests/images/bko-155551-unaligned-tree-block.raw.xz
Binary files differ