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 d0d1c51aea Fix missing initialization in lzma_strm_init().
With bad luck, lzma_code() could return LZMA_BUF_ERROR
when it shouldn't.

This has been here since the early days of liblzma.
It got triggered by the modifications made to the xz
tool in commit 18c10c30d2
but only when decompressing .lzma files. Somehow I managed
to miss testing that with Valgrind earlier.

This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>.
Thanks to Rafał Mużyło for helping to debug it on IRC.
2010-03-06 21:17:20 +02:00
..
alone_decoder.c Fix _memconfig() functions. 2010-01-01 00:29:10 +02: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 Use a tuklib module for integer handling. 2009-10-04 22:57:12 +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 Make the raw value of the Check field available to applications 2009-05-26 14:48:48 +03:00
block_decoder.c Make the raw value of the Check field available to applications 2009-05-26 14:48:48 +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 Fix a design error in liblzma API. 2009-11-14 18:59:19 +02: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 Use a tuklib module for integer handling. 2009-10-04 22:57:12 +03:00
block_header_encoder.c Collection of language fixes to comments and docs. 2010-02-12 13:16:15 +02:00
block_util.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
chunk_size.c Collection of language fixes to comments and docs. 2010-02-12 13:16:15 +02:00
common.c Fix missing initialization in lzma_strm_init(). 2010-03-06 21:17:20 +02:00
common.h Collection of language fixes to comments and docs. 2010-02-12 13:16:15 +02: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 Fix a design error in liblzma API. 2009-11-14 18:59:19 +02: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 Collection of language fixes to comments and docs. 2010-02-12 13:16:15 +02: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 Fix a design error in liblzma API. 2009-11-14 18:59:19 +02: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 Collection of language fixes to comments and docs. 2010-02-12 13:16:15 +02:00
filter_encoder.h Fix a design error in liblzma API. 2009-11-14 18:59:19 +02: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
hardware_physmem.c Add lzma_physmem(). 2009-11-15 12:40:17 +02:00
index.c Collection of language fixes to comments and docs. 2010-02-12 13:16:15 +02:00
index.h Revised the Index handling code. 2009-12-31 22:45:53 +02:00
index_decoder.c Fix _memconfig() functions. 2010-01-01 00:29:10 +02:00
index_encoder.c Collection of language fixes to comments and docs. 2010-02-12 13:16:15 +02:00
index_encoder.h Revised the Index handling code. 2009-12-31 22:45:53 +02:00
index_hash.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
Makefile.inc Make fastpos.h use tuklib_integer.h instead of bsr.h 2009-11-22 11:55:03 +02: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 Revised the Index handling code. 2009-12-31 22:45:53 +02:00
stream_decoder.c Subtle change to liblzma Block handling API. 2010-02-07 19:48:06 +02: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 Collection of language fixes to comments and docs. 2010-02-12 13:16:15 +02: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 Use a tuklib module for integer handling. 2009-10-04 22:57:12 +03:00
stream_flags_encoder.c Use a tuklib module for integer handling. 2009-10-04 22:57:12 +03:00
vli_decoder.c Collection of language fixes to comments and docs. 2010-02-12 13:16:15 +02:00
vli_encoder.c Fix incorrect use of "restrict". 2009-09-15 21:07:23 +03:00
vli_size.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00