]> granicus.if.org Git - xz/commitdiff
Tests: Add a test file for the bug in the previous commit.
authorLasse Collin <lasse.collin@tukaani.org>
Sat, 28 May 2011 05:46:04 +0000 (08:46 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Sat, 28 May 2011 05:46:04 +0000 (08:46 +0300)
tests/files/README
tests/files/bad-1-block_header-6.xz [new file with mode: 0644]

index 2f74cef2fa04396905913972aeb761abb96a0324..53950edb49186d0a15e6ce437ff50954f76fa973 100644 (file)
 
     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 (file)
index 0000000..ecf0ff0
Binary files /dev/null and b/tests/files/bad-1-block_header-6.xz differ