xz/src/liblzma/lzma
Lasse Collin 369f72fd65 Fix a buffer overflow in the LZMA encoder. It was due to my
misunderstanding of the code. There's no tiny fix for this
problem, so I also cleaned up the code in general.

This reduces the speed of the encoder 2-5 % in the fastest
compression mode ("lzma -1"). High compression modes should
have no noticeable performance difference.

This commit breaks things (especially LZMA_SYNC_FLUSH) but I
will fix them once the new format and LZMA2 has been roughly
implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all
and won't be supported in the new .lzma format. This may
change still but this is what it looks like now.

Support for known uncompressed size (that is, LZMA or LZMA2
without EOPM) is likely to go away. This means there will
be API changes.
2008-06-01 12:48:17 +03:00
..
Makefile.am Fix fastpos problem in Makefile.am when built with --enable-small. 2008-04-24 17:33:01 +03:00
fastpos.h Revised the fastpos code. It now uses the slightly faster 2008-01-15 14:02:22 +02:00
fastpos_table.c Revised the fastpos code. It now uses the slightly faster 2008-01-15 14:02:22 +02:00
fastpos_tablegen.c Revised the fastpos code. It now uses the slightly faster 2008-01-15 14:02:22 +02:00
lzma_common.h Demystified the "state" variable in LZMA code. Use the 2008-03-22 00:57:33 +02:00
lzma_decoder.c Update a comment to use the variable name rep_len_decoder. 2008-03-22 01:26:36 +02:00
lzma_decoder.h Imported to git. 2007-12-09 00:42:33 +02:00
lzma_encoder.c Fix a buffer overflow in the LZMA encoder. It was due to my 2008-06-01 12:48:17 +03:00
lzma_encoder.h Imported to git. 2007-12-09 00:42:33 +02:00
lzma_encoder_features.c Imported to git. 2007-12-09 00:42:33 +02:00
lzma_encoder_getoptimum.c Fix a buffer overflow in the LZMA encoder. It was due to my 2008-06-01 12:48:17 +03:00
lzma_encoder_getoptimumfast.c Fix a buffer overflow in the LZMA encoder. It was due to my 2008-06-01 12:48:17 +03:00
lzma_encoder_init.c Fix a buffer overflow in the LZMA encoder. It was due to my 2008-06-01 12:48:17 +03:00
lzma_encoder_presets.c Imported to git. 2007-12-09 00:42:33 +02:00
lzma_encoder_private.h Fix a buffer overflow in the LZMA encoder. It was due to my 2008-06-01 12:48:17 +03:00
lzma_literal.c Imported to git. 2007-12-09 00:42:33 +02:00
lzma_literal.h Imported to git. 2007-12-09 00:42:33 +02:00