reduced assertion strength
one limit case can apparently be generated during fuzzer tests
This commit is contained in:
parent
f40c6b4395
commit
20fb9e7f36
@ -1037,7 +1037,7 @@ ZSTD_decompressSequencesLong_body(
|
|||||||
seqState.prefixStart = prefixStart;
|
seqState.prefixStart = prefixStart;
|
||||||
seqState.pos = (size_t)(op-prefixStart);
|
seqState.pos = (size_t)(op-prefixStart);
|
||||||
seqState.dictEnd = dictEnd;
|
seqState.dictEnd = dictEnd;
|
||||||
assert(iend > ip);
|
assert(iend >= ip);
|
||||||
CHECK_E(BIT_initDStream(&seqState.DStream, ip, iend-ip), corruption_detected);
|
CHECK_E(BIT_initDStream(&seqState.DStream, ip, iend-ip), corruption_detected);
|
||||||
ZSTD_initFseState(&seqState.stateLL, &seqState.DStream, dctx->LLTptr);
|
ZSTD_initFseState(&seqState.stateLL, &seqState.DStream, dctx->LLTptr);
|
||||||
ZSTD_initFseState(&seqState.stateOffb, &seqState.DStream, dctx->OFTptr);
|
ZSTD_initFseState(&seqState.stateOffb, &seqState.DStream, dctx->OFTptr);
|
||||||
|
Loading…
Reference in New Issue
Block a user