]> git.ipfire.org Git - thirdparty/zstd.git/commit
[ldm] Fix bug in overflow correction with large job size (#1678)
authorNick Terrell <terrelln@fb.com>
Fri, 12 Jul 2019 22:45:18 +0000 (18:45 -0400)
committerGitHub <noreply@github.com>
Fri, 12 Jul 2019 22:45:18 +0000 (18:45 -0400)
commit75cfe1dc6998fed2e69919efa8652863caf7c999
treec684c81e0b7d2f19c7bfda7669eb5a7302c9d76e
parent812e8f2a16ff7999fc733903db80357e85b2fba8
[ldm] Fix bug in overflow correction with large job size (#1678)

* [ldm] Fix bug in overflow correction with large job size

* [zstdmt] Respect ZSTDMT_JOBSIZE_MAX (1G in 64-bit mode)

* [test] Add test that exposes the bug

Sadly the test fails on our CI because it uses too much memory, so
I had to comment it out.
lib/compress/zstd_ldm.c
lib/compress/zstdmt_compress.c
lib/compress/zstdmt_compress.h
tests/playTests.sh