Skip to content
Snippets Groups Projects
Unverified Commit 04734ee8 authored by binhdvo's avatar binhdvo Committed by GitHub
Browse files

Fix oss fuzz test error (#2837)

parent 23dd28df
No related branches found
No related tags found
No related merge requests found
......@@ -1674,7 +1674,7 @@ ZSTD_decompressSequencesLong_body(
const BYTE* ip = (const BYTE*)seqStart;
const BYTE* const iend = ip + seqSize;
BYTE* const ostart = (BYTE*)dst;
BYTE* const oend = ostart + maxDstSize;
BYTE* const oend = dctx->litBufferLocation == ZSTD_in_dst ? dctx->litBuffer : ostart + maxDstSize;
BYTE* op = ostart;
const BYTE* litPtr = dctx->litPtr;
const BYTE* litBufferEnd = dctx->litBufferEnd;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment