Merge pull request #402 from felixhandte/fix-dict-segfault
Fix dict segfault
This commit is contained in:
commit
2a9af21d62
@ -1616,6 +1616,7 @@ size_t LZ4F_decompress(LZ4F_dctx* dctx,
|
||||
if ( (dctx->frameInfo.blockMode==LZ4F_blockLinked)
|
||||
&& (dctx->dict != dctx->tmpOutBuffer)
|
||||
&& (dctx->dStage != dstage_getFrameHeader)
|
||||
&& (dctx->dStage != dstage_storeFrameHeader)
|
||||
&& (!decompressOptionsPtr->stableDst)
|
||||
&& ((unsigned)(dctx->dStage-1) < (unsigned)(dstage_getSuffix-1)) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user