From: Yann Collet Date: Thu, 28 Sep 2017 18:48:45 +0000 (-0700) Subject: zstreamtest --newapi : reduced maximum allocated memory X-Git-Tag: v1.3.2~3^2~21^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbef058ae6f2e931c9af59b6da4f1f666775fb23;p=thirdparty%2Fzstd.git zstreamtest --newapi : reduced maximum allocated memory --- diff --git a/tests/zstreamtest.c b/tests/zstreamtest.c index acaf8f962..f69cdd646 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;