Fix infinite loop with invalid data (fuzzer test)
This commit is contained in:
parent
c018b03e78
commit
ccbba296e1
@ -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 */
|
||||
|
3
programs/.gitignore
vendored
3
programs/.gitignore
vendored
@ -38,6 +38,9 @@ dictionary
|
||||
grillResults.txt
|
||||
_*
|
||||
|
||||
# fuzzer
|
||||
afl
|
||||
|
||||
# Misc files
|
||||
*.bat
|
||||
fileTests.sh
|
||||
|
Loading…
Reference in New Issue
Block a user