mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
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. |
||
---|---|---|
.. | ||
Makefile.am | ||
subblock_decoder.c | ||
subblock_decoder.h | ||
subblock_decoder_helper.c | ||
subblock_decoder_helper.h | ||
subblock_encoder.c | ||
subblock_encoder.h |