diff --git a/lib/zstd_decompress.c b/lib/zstd_decompress.c index 7de1f29d..94caa090 100644 --- a/lib/zstd_decompress.c +++ b/lib/zstd_decompress.c @@ -769,7 +769,7 @@ static size_t ZSTD_decompressSequences( { size_t const seqHSize = ZSTD_decodeSeqHeaders(&nbSeq, DTableLL, DTableML, DTableOffb, dctx->flagRepeatTable, ip, seqSize); if (ZSTD_isError(seqHSize)) return seqHSize; ip += seqHSize; - dctx->flagRepeatTable = 1; + dctx->flagRepeatTable = 0; } /* Regen sequences */ diff --git a/programs/.gitignore b/programs/.gitignore index fe074a76..886af777 100644 --- a/programs/.gitignore +++ b/programs/.gitignore @@ -38,6 +38,9 @@ dictionary grillResults.txt _* +# fuzzer +afl + # Misc files *.bat fileTests.sh