1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00
xz-archive/src/liblzma/common
Lasse Collin 21c6b94373 Fixed a crash in liblzma.
liblzma tries to avoid useless free()/malloc() pairs in
initialization when multiple files are handled using the
same lzma_stream. This didn't work with filter chains
due to comparison of wrong pointers in lzma_next_coder_init(),
making liblzma think that no memory reallocation is needed
even when it actually is.

Easy way to trigger this bug is to decompress two files with
a single xz command. The first file should have e.g. x86+LZMA2
as the filter chain, and the second file just LZMA2.
2009-04-28 23:08:32 +03:00
..
alone_decoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
alone_decoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
alone_encoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
auto_decoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
block_buffer_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
block_buffer_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
block_decoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
block_decoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
block_encoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
block_encoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
block_header_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
block_header_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
block_util.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
bsr.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
chunk_size.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
common.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
common.h Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
easy_buffer_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
easy_decoder_memusage.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
easy_encoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
easy_encoder_memusage.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
easy_preset.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
easy_preset.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_buffer_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_buffer_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_common.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_common.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_decoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_encoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_flags_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_flags_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
index.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
index.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
index_decoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
index_encoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
index_encoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
index_hash.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
Makefile.am Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_buffer_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_buffer_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_decoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
stream_decoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_encoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
stream_encoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_flags_common.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_flags_common.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_flags_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_flags_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
vli_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
vli_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
vli_size.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00