mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-09 10:07:10 -06:00
4.35 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
0f60a4933b
commit
191cf6781a
@@ -27,9 +27,9 @@ public:
|
||||
bool CopyBlock(UInt32 distance, UInt32 len)
|
||||
{
|
||||
UInt32 pos = _pos - distance - 1;
|
||||
if (pos >= _bufferSize)
|
||||
if (distance >= _pos)
|
||||
{
|
||||
if (!_overDict)
|
||||
if (!_overDict || distance >= _bufferSize)
|
||||
return false;
|
||||
pos += _bufferSize;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user