From 79bef85e0543c0c3723281c3c817616c6cec343b Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 28 May 2011 08:46:04 +0300 Subject: [PATCH] Tests: Add a test file for the bug in the previous commit. --- tests/files/README | 4 ++++ tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes 2 files changed, 4 insertions(+) create mode 100644 tests/files/bad-1-block_header-6.xz 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 0000000000000000000000000000000000000000..ecf0ff09c11b4c7b1f4bd4d50a10da8495318243 GIT binary patch literal 72 zcmexsUKJ6=z`&TPbkB_8fFQ3TBL@Qr)Zepw&B(yxk(!f}&lR3ul#`;!1rm2&yhxOR VQI)q)^2oLcPBVEKL4u5tQ2?rv5y=1m literal 0 HcmV?d00001