OLD | NEW |
1 | 1 |
2 .xz Test Files | 2 .xz Test Files |
3 ---------------- | 3 ---------------- |
4 | 4 |
5 0. Introduction | 5 0. Introduction |
6 | 6 |
7 This directory contains bunch of files to test handling of .xz files | 7 This directory contains bunch of files to test handling of .xz files |
8 in .xz decoder implementations. Many of the files have been created | 8 in .xz decoder implementations. Many of the files have been created |
9 by hand with a hex editor, thus there is no better "source code" than | 9 by hand with a hex editor, thus there is no better "source code" than |
10 the files themselves. All the test files (*.xz) and this README have | 10 the files themselves. All the test files (*.xz) and this README have |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 bad-1-block_header-3.xz has wrong CRC32 in Block Header. | 181 bad-1-block_header-3.xz has wrong CRC32 in Block Header. |
182 | 182 |
183 bad-1-block_header-4.xz has too big Compressed Size in Block Header | 183 bad-1-block_header-4.xz has too big Compressed Size in Block Header |
184 (2^63 - 1 bytes while maximum is a little less, because the whole | 184 (2^63 - 1 bytes while maximum is a little less, because the whole |
185 Block must stay smaller than 2^63). It's important that the file | 185 Block must stay smaller than 2^63). It's important that the file |
186 gets rejected due to invalid Compressed Size value; the decoder | 186 gets rejected due to invalid Compressed Size value; the decoder |
187 must not try decoding the Compressed Data field. | 187 must not try decoding the Compressed Data field. |
188 | 188 |
189 bad-1-block_header-5.xz has zero as Compressed Size in Block Header. | 189 bad-1-block_header-5.xz has zero as Compressed Size in Block Header. |
190 | 190 |
| 191 bad-1-block_header-6.xz has corrupt Block Header which may crash |
| 192 xz -lvv in XZ Utils 5.0.3 and earlier. It was fixed in the commit |
| 193 c0297445064951807803457dca1611b3c47e7f0f. |
| 194 |
191 bad-2-index-1.xz has wrong Unpadded Sizes in Index. | 195 bad-2-index-1.xz has wrong Unpadded Sizes in Index. |
192 | 196 |
193 bad-2-index-2.xz has wrong Uncompressed Sizes in Index. | 197 bad-2-index-2.xz has wrong Uncompressed Sizes in Index. |
194 | 198 |
195 bad-2-index-3.xz has non-null byte in Index Padding. | 199 bad-2-index-3.xz has non-null byte in Index Padding. |
196 | 200 |
197 bad-2-index-4.xz wrong CRC32 in Index. | 201 bad-2-index-4.xz wrong CRC32 in Index. |
198 | 202 |
199 bad-2-index-5.xz has zero as Unpadded Size. It is important that the | 203 bad-2-index-5.xz has zero as Unpadded Size. It is important that the |
200 file gets rejected specifically due to Unpadded Size having an invalid | 204 file gets rejected specifically due to Unpadded Size having an invalid |
(...skipping 26 matching lines...) Expand all Loading... |
227 bad-1-lzma2-5.xz is like bad-1-lzma2-4.xz but doesn't try to reset | 231 bad-1-lzma2-5.xz is like bad-1-lzma2-4.xz but doesn't try to reset |
228 anything in the header of the second chunk. | 232 anything in the header of the second chunk. |
229 | 233 |
230 bad-1-lzma2-6.xz has reserved LZMA2 control byte value (0x03). | 234 bad-1-lzma2-6.xz has reserved LZMA2 control byte value (0x03). |
231 | 235 |
232 bad-1-lzma2-7.xz has EOPM at LZMA level. | 236 bad-1-lzma2-7.xz has EOPM at LZMA level. |
233 | 237 |
234 bad-1-lzma2-8.xz is like good-1-lzma2-4.xz but doesn't set new | 238 bad-1-lzma2-8.xz is like good-1-lzma2-4.xz but doesn't set new |
235 properties in the third LZMA2 chunk. | 239 properties in the third LZMA2 chunk. |
236 | 240 |
OLD | NEW |