]> git.ipfire.org Git - thirdparty/zstd.git/commit
Ensure dictionary Huff table can encode any symbol 881/head
authorNick Terrell <terrelln@fb.com>
Tue, 3 Oct 2017 20:22:13 +0000 (13:22 -0700)
committerNick Terrell <terrelln@fb.com>
Tue, 3 Oct 2017 20:22:13 +0000 (13:22 -0700)
commita86a7097ec70113a061f77526e9803a82651a60f
treee422daf8b37f874b1245497ad7450166e568cde0
parent67478f4cb0f582d83c8846bd3b84ed824bc08c6f
Ensure dictionary Huff table can encode any symbol

* Ensure that the dictionary Huffman CTable has maxSymbolValue 255.
* Fix a stack buffer overflow during compression dictionary loading.
lib/common/huf.h
lib/compress/huf_compress.c
lib/compress/zstd_compress.c