From: Qu Wenruo Date: Tue, 30 Aug 2016 07:22:17 +0000 (+0800) Subject: btrfs-progs: fuzz-test: Add test case for unaligned extent item X-Git-Tag: upstream/4.16.1~1332 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8607100a9b5c99736fa1fce3e0c6c624c189f4ec;p=platform%2Fupstream%2Fbtrfs-progs.git btrfs-progs: fuzz-test: Add test case for unaligned extent item Reported-by: Lukas Lueg Signed-off-by: Qu Wenruo [ added bko-NNN- prefix to the files ] Signed-off-by: David Sterba --- 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 0000000..7f0b804 --- /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 0000000..c401f2e Binary files /dev/null and b/tests/fuzz-tests/images/bko-155181-unaligned-extent-item.raw.xz differ