Use cctx's minMatch instead of global MINMATCH, make fuzzer use validation
This commit is contained in:
1 parent
bcd17db2fb
commit
4c5f337248
2 files changed
+7
-4
No files matched your search
@@ -199,6 +199,7 @@ static size_t roundTripTest(void *result, size_t resultCapacity,
|
||||
ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel, cLevel);
|
||||
ZSTD_CCtx_setParameter(cctx, ZSTD_c_windowLog, wLog);
|
||||
ZSTD_CCtx_setParameter(cctx, ZSTD_c_minMatch, ZSTD_MINMATCH_MIN);
|
||||
ZSTD_CCtx_setParameter(cctx, ZSTD_c_validateSequences, 1);
|
||||
/* TODO: Add block delim mode fuzzing */
|
||||
ZSTD_CCtx_setParameter(cctx, ZSTD_c_blockDelimiters, ZSTD_sf_noBlockDelimiters);
|
||||
if (hasDict) {
|
||||
|
||||
Reference in new issue
Block a user