]> git.ipfire.org Git - thirdparty/zstd.git/commit
fixed ZSTD_loadZstdDictionary() 625/head
authorYann Collet <cyan@fb.com>
Fri, 24 Mar 2017 19:46:46 +0000 (12:46 -0700)
committerYann Collet <cyan@fb.com>
Fri, 24 Mar 2017 19:46:46 +0000 (12:46 -0700)
commit16a0b10781a62dfbd8ed137d435b5022f389f955
treec84618b2d4c7d59b00ad4702481d221d745b5dda
parentbea78e8fc26bd9d46bc2d98a3d9099586c4ad29d
fixed ZSTD_loadZstdDictionary()

forgot to add the dictionary content
(tests were not failing, just compressing less).

Also : added size protections when adding dict content
since hc/bt table filling would fail if size < 8
lib/compress/zstd_compress.c