]> git.ipfire.org Git - thirdparty/zstd.git/commit
Fix LZ4 Compression Buffer Overflow 893/head
authorW. Felix Handte <w@felixhandte.com>
Tue, 17 Oct 2017 05:19:29 +0000 (01:19 -0400)
committerW. Felix Handte <w@felixhandte.com>
Tue, 28 Nov 2017 17:07:26 +0000 (12:07 -0500)
commitbaff9dd15eb65eaf54f0dee9ee5fadc9ce16d6ab
tree9482eb3ae77e693eba3180e7f8d338049ceaf065
parent62c746dcf90c9f69f404df08533795d72083361d
Fix LZ4 Compression Buffer Overflow

Fixes issue where, when `zstd --format=lz4` is fed an input larger than 128KB,
the read overruns the input buffer. This changes Zstd to use LZ4 with chained
64KB blocks. This is technically a breaking change in that some third party
LZ4 implementations may not support linked blocks. However, progress should not
be allowed to be stopped by such petty concerns as backwards compatibility!
programs/fileio.c