]> git.ipfire.org Git - thirdparty/zstd.git/commit
Fix DDSS Load 2729/head
authorW. Felix Handte <w@felixhandte.com>
Thu, 22 Jul 2021 16:37:35 +0000 (12:37 -0400)
committerW. Felix Handte <w@felixhandte.com>
Tue, 27 Jul 2021 15:49:44 +0000 (11:49 -0400)
commitda58821ff2741bde6f78df87f859a3e791515197
tree715a512c1bf0a2f39f9c4d69271083fca8d0502b
parentd2b5e5496d21570f565ad9cb3ea01112eb1bad88
Fix DDSS Load

This PR fixes an incorrect comparison in figuring out `minChain` in
`ZSTD_dedicatedDictSearch_lazy_loadDictionary()`. This incorrect comparison
had been masked by the fact that `idx` was always 1, until @terrelln changed
that in #2726.

Credit-to: OSS-Fuzz
lib/compress/zstd_lazy.c