]> git.ipfire.org Git - thirdparty/zstd.git/commit
[fuzzer] Add huf_decompress fuzzer 2784/head
authorNick Terrell <terrelln@fb.com>
Fri, 17 Sep 2021 19:58:04 +0000 (12:58 -0700)
committerNick Terrell <terrelln@fb.com>
Fri, 17 Sep 2021 22:00:49 +0000 (15:00 -0700)
commitd7542aacd99ad922dd179e729ce411c107963ab3
treec3322d6da20c91c5d79265a5e60e74caa1ff7b08
parent6392c382bf49ad354d2eb7c296b4668ecae400b8
[fuzzer] Add huf_decompress fuzzer

Add a fuzzer for Huffman decompression. Fix several bugs in Huffman
decompression, mostly related to `op == NULL` and pointer underflow.
lib/decompress/huf_decompress.c
tests/fuzz/Makefile
tests/fuzz/fuzz.py
tests/fuzz/huf_decompress.c [new file with mode: 0644]