From bbef058ae6f2e931c9af59b6da4f1f666775fb23 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Thu, 28 Sep 2017 11:48:45 -0700 Subject: [PATCH] zstreamtest --newapi : reduced maximum allocated memory --- tests/zstreamtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/zstreamtest.c b/tests/zstreamtest.c index acaf8f96..f69cdd64 100644 --- a/tests/zstreamtest.c +++ b/tests/zstreamtest.c @@ -1363,7 +1363,7 @@ static int fuzzerTests_newAPI(U32 seed, U32 nbTests, unsigned startTest, double } { U64 const pledgedSrcSize = (FUZ_rand(&lseed) & 3) ? ZSTD_CONTENTSIZE_UNKNOWN : maxTestSize; ZSTD_compressionParameters cParams = ZSTD_getCParams(cLevel, pledgedSrcSize, dictSize); - static const U32 windowLogMax = 25; + static const U32 windowLogMax = 24; /* mess with compression parameters */ cParams.windowLog += (FUZ_rand(&lseed) & 3) - 1;