aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2011-05-28 08:46:04 +0300
committerLasse Collin <lasse.collin@tukaani.org>2011-05-28 09:44:18 +0300
commit6fe2fc9b6ab5bf6848140823e9536370834f42fb (patch)
tree0f1bdf92118cf06d5d7b6d94d5d627bc5211c9de
parentxz: Fix error handling in xz -lvv. (diff)
downloadxz-6fe2fc9b6ab5bf6848140823e9536370834f42fb.tar.xz
Tests: Add a test file for the bug in the previous commit.
-rw-r--r--tests/files/README4
-rw-r--r--tests/files/bad-1-block_header-6.xzbin0 -> 72 bytes
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/files/README b/tests/files/README
index 2f74cef2..53950edb 100644
--- a/tests/files/README
+++ b/tests/files/README
@@ -188,6 +188,10 @@
bad-1-block_header-5.xz has zero as Compressed Size in Block Header.
+ bad-1-block_header-6.xz has corrupt Block Header which may crash
+ xz -lvv in XZ Utils 5.0.3 and earlier. It was fixed in the commit
+ c0297445064951807803457dca1611b3c47e7f0f.
+
bad-2-index-1.xz has wrong Unpadded Sizes in Index.
bad-2-index-2.xz has wrong Uncompressed Sizes in Index.
diff --git a/tests/files/bad-1-block_header-6.xz b/tests/files/bad-1-block_header-6.xz
new file mode 100644
index 00000000..ecf0ff09
--- /dev/null
+++ b/tests/files/bad-1-block_header-6.xz
Binary files differ