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 13:59:50 +0300 |
commit | d1199274758049fc523d98c5b860ff814a799eec (patch) | |
tree | a94a713194803c300d18b848ddffb89fa463483b /src/liblzma/check/crc64_tablegen.c | |
parent | liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK. (diff) | |
download | xz-d1199274758049fc523d98c5b860ff814a799eec.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/check/crc64_tablegen.c')
0 files changed, 0 insertions, 0 deletions