diff options
author | Alexander Mohr <alexander.m.mohr@mercedes-benz.com> | 2022-07-04 06:51:37 (GMT) |
---|---|---|
committer | Alexander Mohr <alexander.m.mohr@mercedes-benz.com> | 2022-07-04 06:51:37 (GMT) |
commit | e595150bafff318f6f66e4b364193b32701449e3 (patch) | |
tree | ccf05c1521f8fd214fd3a71193bcfe5a97f1126c /programs | |
parent | 5065080664437efcb4215823b9ad95f5571a9d7c (diff) | |
download | lz4-e595150bafff318f6f66e4b364193b32701449e3.zip lz4-e595150bafff318f6f66e4b364193b32701449e3.tar.gz lz4-e595150bafff318f6f66e4b364193b32701449e3.tar.bz2 |
lz4frame: correct start and size after flush
when the block mode changes a flush is executed, to prevent
mixing compressed and uncompressed data.
Prior to this commit dstStart, dstPtr, dstCapacity
where not updated to include the offset from bytesWritten.
For inputs > blockSize this meant the flushed data was
overwritten.
Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
Diffstat (limited to 'programs')
0 files changed, 0 insertions, 0 deletions