xz/src/liblzma/common
Lasse Collin 71b9380145 liblzma: Validate encoder arguments better.
The biggest problem was that the integrity check type
wasn't validated, and e.g. lzma_easy_buffer_encode()
would create a corrupt .xz Stream if given an unsupported
Check ID. Luckily applications don't usually try to use
an unsupport Check ID, so this bug is unlikely to cause
many real-world problems.
2011-04-11 13:21:28 +03:00
..
Makefile.inc liblzma: Make lzma_stream_encoder_init() static (second try). 2011-04-11 09:27:57 +03: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 liblzma: Validate encoder arguments better. 2011-04-11 13:21:28 +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 liblzma: Validate encoder arguments better. 2011-04-11 13:21:28 +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 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 Fix lzma_block_compressed_size(). 2010-05-27 16:17:42 +03:00
common.c liblzma: Make lzma_code() check the reserved members in lzma_stream. 2010-10-23 12:30:54 +03:00
common.h Add alloc_size and malloc attributes to a few functions. 2011-01-18 21:23:50 +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 liblzma: Make lzma_stream_encoder_init() static (second try). 2011-04-11 09:27:57 +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 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 liblzma: Add missing #ifdefs to filter_common.c. 2011-04-09 18:28:58 +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 Remove the Subblock filter code for now. 2010-05-26 09:55:47 +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 Clean up a few FIXMEs and TODOs. 2010-10-19 11:44:37 +03:00
filter_encoder.h Clean up a few FIXMEs and TODOs. 2010-10-19 11:44:37 +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
hardware_physmem.c Add lzma_physmem(). 2009-11-15 12:40:17 +02:00
index.c liblzma: Use 512 as INDEX_GROUP_SIZE. 2010-10-23 12:21:32 +03:00
index.h Revised the Index handling code. 2009-12-31 22:45:53 +02:00
index_decoder.c liblzma: Update the comments in the API headers. 2010-10-21 23:06:31 +03:00
index_encoder.c liblzma: Update the comments in the API headers. 2010-10-21 23:06:31 +03: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
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 liblzma: Validate encoder arguments better. 2011-04-11 13:21:28 +03: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 liblzma: Make lzma_stream_encoder_init() static (second try). 2011-04-11 09:27:57 +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