From: Yann Collet Date: Fri, 15 Jul 2016 10:20:26 +0000 (+0200) Subject: adapted fuzzer test to new blockSizeMax rule for ZSTD_compressBlock() X-Git-Tag: v0.7.4^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3d2db587e48260c559b7e358285c1231fec542c;p=thirdparty%2Fzstd.git adapted fuzzer test to new blockSizeMax rule for ZSTD_compressBlock() --- diff --git a/programs/fuzzer.c b/programs/fuzzer.c index b95e930d0..77a711869 100644 --- a/programs/fuzzer.c +++ b/programs/fuzzer.c @@ -321,8 +321,8 @@ static int basicUnitTests(U32 seed, double compressibility) /* block API tests */ { ZSTD_CCtx* const cctx = ZSTD_createCCtx(); ZSTD_DCtx* const dctx = ZSTD_createDCtx(); - static const size_t blockSize = 100 KB; - static const size_t dictSize = 16 KB; + static const size_t dictSize = 65 KB; + static const size_t blockSize = 100 KB; /* won't cause pb with small dict size */ size_t cSize2; /* basic block compression */