diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-20 20:12:58 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-20 20:12:58 +0200 |
commit | 107259e306bcfc2336a0fb870fb58034c28faa52 (patch) | |
tree | dbecc0c35b706ff495de8fbda0eb5eb75b9ab0d4 /configure.ac | |
parent | Implemented LZMA_SYNC_FLUSH support to the Subblock encoder. (diff) | |
download | xz-107259e306bcfc2336a0fb870fb58034c28faa52.tar.xz |
Fix alignment handling bugs in Subblock encoder.
This leaves one known alignment bug unfixed: If repeat count
doesn't fit into 28-bit integer, the encoder has to split
this to multiple Subblocks with Subblock Type `Repeating Data'.
The extra Subblocks may have wrong alignment. Correct alignment
is restored after the split Repeating Data has been completely
written out.
Since the encoder doesn't even try to fix the alignment unless
the size of Data is at least 4 bytes, to trigger this bug you
need at least 4 GiB of repeating data with sequence length of
4 or more bytes. Since the worst thing done by this bug is
misaligned data (no data corruption), this bug simply isn't
worth fixing, because a proper fix isn't simple.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions