]> git.ipfire.org Git - thirdparty/zstd.git/commit
[bug] Fix FSE_readNCount() 2282/head
authorNick Terrell <terrelln@fb.com>
Tue, 25 Aug 2020 18:37:41 +0000 (11:37 -0700)
committerNick Terrell <terrelln@fb.com>
Tue, 25 Aug 2020 22:42:41 +0000 (15:42 -0700)
commit4193638996eaae030fc8993cd15159ab81fe166f
treefce8806480b07c0d69477c287bb5565176265235
parent614e446000a69acdf322e155419e9783d9c7170c
[bug] Fix FSE_readNCount()

* Fix bug introduced in PR #2271
* Fix long-standing bug that is impossible to trigger inside of zstd
* Add a fuzzer that makes sure the normalized count always round trips
  correctly
lib/common/entropy_common.c
tests/fuzz/Makefile
tests/fuzz/fse_read_ncount.c [new file with mode: 0644]
tests/fuzz/fuzz.py