mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-07 05:15:01 -06:00
15.10
This commit is contained in:
committed by
Kornel Lesiński
parent
a663a6deb7
commit
7c8a265a15
@@ -255,7 +255,12 @@ HRESULT CUnpacker::Unpack2(
|
||||
|
||||
_solidIndex = resource.SolidIndex;
|
||||
_unpackedChunkIndex = chunkIndex;
|
||||
|
||||
if (cur < offsetInChunk)
|
||||
return E_FAIL;
|
||||
|
||||
cur -= offsetInChunk;
|
||||
|
||||
if (cur > rem)
|
||||
cur = (size_t)rem;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user