mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
99e12af4e2
lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN is not allowed at all. To indicate missing Header Metadata Block, header_metadata_size must be set to zero. This is what Metadata decoder does after this patch too. Note that other missing fields in lzma_metadata are still indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as illogical as it sounds at first, because missing Size of Header Metadata Block means that Header Metadata Block is not present in the Stream. With other Metadata fields, a missing field means only that the value is unknown. |
||
---|---|---|
.. | ||
files | ||
bcj_test.c | ||
compress_prepared_bcj_sparc | ||
compress_prepared_bcj_x86 | ||
create_compress_files.c | ||
Makefile.am | ||
test_block.c | ||
test_block_header.c | ||
test_check.c | ||
test_compress.sh | ||
test_files.sh | ||
test_filter_flags.c | ||
test_index.c | ||
test_info.c | ||
test_stream_flags.c | ||
tests.h |