]> git.ipfire.org Git - thirdparty/zstd.git/commit
Zero `h3size` When `h3log` is 0
authorW. Felix Handte <w@felixhandte.com>
Wed, 11 Sep 2019 17:14:26 +0000 (13:14 -0400)
committerW. Felix Handte <w@felixhandte.com>
Wed, 11 Sep 2019 17:14:26 +0000 (13:14 -0400)
commit7c57e2b9cac597845265f877c8c866bf38b7ce01
treec121bc91f22e4a677a4f7148316675be5ff97556
parentbc020eec928b09c2cf99712d5b4a00afa34470de
Zero `h3size` When `h3log` is 0

This led to a nasty edgecase, where index reduction for modes that don't use
the h3 table would have a degenerate table (size 4) allocated and marked clean,
but which would not be re-indexed.
lib/compress/zstd_compress.c