summaryrefslogtreecommitdiffstats
path: root/lib/lz4frame_static.h
diff options
context:
space:
mode:
authorW. Felix Handte <w@felixhandte.com>2018-12-04 22:05:11 (GMT)
committerW. Felix Handte <w@felixhandte.com>2018-12-04 22:05:11 (GMT)
commit535636ff5cca702e4b5eb8e602c0ce70bfcde2c1 (patch)
tree4e9b7978b465df062589f1e1f4167dd9663411d4 /lib/lz4frame_static.h
parent3a510831c31500e94f9fd732b586ef7b92642d2c (diff)
downloadlz4-535636ff5cca702e4b5eb8e602c0ce70bfcde2c1.zip
lz4-535636ff5cca702e4b5eb8e602c0ce70bfcde2c1.tar.gz
lz4-535636ff5cca702e4b5eb8e602c0ce70bfcde2c1.tar.bz2
Don't Attach Very Small Dictionaries
Fixes a mismatch in behavior between loading into the context (via `LZ4_loadDict()`) a very small (<= 4 bytes) non-contiguous dictionary, versus attaching it with `LZ4_attach_dictionary()`. Before this patch, this divergence could be reproduced by running ``` make -C tests fuzzer MOREFLAGS="-m32" tests/fuzzer -v -s1239 -t3146 ``` Making sure these two paths behave exactly identically is an easy way to test the correctness of the attach path, so it's desirable that this remain an unpolluted, high signal test.
Diffstat (limited to 'lib/lz4frame_static.h')
0 files changed, 0 insertions, 0 deletions