diff --git a/tests/zstreamtest.c b/tests/zstreamtest.c index e087dd72..0785aecb 100644 --- a/tests/zstreamtest.c +++ b/tests/zstreamtest.c @@ -1292,6 +1292,7 @@ static int fuzzerTests_newAPI(U32 seed, U32 nbTests, unsigned startTest, double if (FUZ_rand(&lseed) & 1) CHECK_Z( ZSTD_CCtx_setParameter(zc, ZSTD_p_minMatch, cParams.searchLength) ); if (FUZ_rand(&lseed) & 1) CHECK_Z( ZSTD_CCtx_setParameter(zc, ZSTD_p_targetLength, cParams.targetLength) ); + if (FUZ_rand(&lseed) & 1) { dict=NULL; dictSize=0; } CHECK_Z( ZSTD_CCtx_loadDictionary(zc, dict, dictSize) ); /* to do : check that cParams are blocked after loading non-NULL dictionary */