diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2011-04-11 13:59:50 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2011-04-11 14:00:55 +0300 |
commit | 2ee4edeffc8d9734bf68230df31b20ac6a94c9b5 (patch) | |
tree | 2fb3e3954c65ada06a6809fcf31e36eaf1ecb1e5 /src/liblzma/common/stream_flags_common.c | |
parent | liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK. (diff) | |
download | xz-2ee4edeffc8d9734bf68230df31b20ac6a94c9b5.tar.xz |
liblzma: Don't create an empty Block in lzma_stream_buffer_encode().
Empty Block was created if the input buffer was empty.
Empty Block wastes a few bytes of space, but more importantly
it triggers a bug in XZ Utils 5.0.1 and older when trying
to decompress such a file. 5.0.1 and older consider such
files to be corrupt. I thought that no encoder creates empty
Blocks when releasing 5.0.2 but I was wrong.
Diffstat (limited to 'src/liblzma/common/stream_flags_common.c')
0 files changed, 0 insertions, 0 deletions