summaryrefslogtreecommitdiff
path: root/tests/fuzz-tests
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2016-08-30 15:22:17 +0800
committerDavid Sterba <dsterba@suse.com>2016-09-05 10:05:05 +0200
commit8607100a9b5c99736fa1fce3e0c6c624c189f4ec (patch)
tree7d2b2c04d2470c0e4982c59b9564efd344d80e4c /tests/fuzz-tests
parent9a0f2f1e53e4620b21680f64c263b3cbbcd8d512 (diff)
btrfs-progs: fuzz-test: Add test case for unaligned extent item
Reported-by: Lukas Lueg <lukas.lueg@gmail.com> Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> [ added bko-NNN- prefix to the files ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/fuzz-tests')
-rw-r--r--tests/fuzz-tests/images/bko-155181-unaligned-extent-item.raw.txt8
-rw-r--r--tests/fuzz-tests/images/bko-155181-unaligned-extent-item.raw.xzbin0 -> 3684 bytes
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/fuzz-tests/images/bko-155181-unaligned-extent-item.raw.txt b/tests/fuzz-tests/images/bko-155181-unaligned-extent-item.raw.txt
new file mode 100644
index 00000000..7f0b8045
--- /dev/null
+++ b/tests/fuzz-tests/images/bko-155181-unaligned-extent-item.raw.txt
@@ -0,0 +1,8 @@
+URL: https://bugzilla.kernel.org/show_bug.cgi?id=155181
+Lukas Lueg 2016-08-28 10:52:32 UTC
+
+Created attachment 230891 [details]
+BTRFS-image that reaches abort() in btrfsck
+
+More news from the fuzzer. The attached image causes btrfsck to reach abort()
+in in cmds-check.c:add_tree_backref(); using btrfs-progs v4.7-42-g56e9586.
diff --git a/tests/fuzz-tests/images/bko-155181-unaligned-extent-item.raw.xz b/tests/fuzz-tests/images/bko-155181-unaligned-extent-item.raw.xz
new file mode 100644
index 00000000..c401f2e5
--- /dev/null
+++ b/tests/fuzz-tests/images/bko-155181-unaligned-extent-item.raw.xz
Binary files differ