Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2014-08-06 20:43:53 +0400
committerXhmikosR <xhmikosr@gmail.com>2014-08-19 21:59:22 +0400
commitb56235a26018a98ac6a9de549dd96d9c49f2703b (patch)
tree31d5425eefd0069a8654702ee2b9e3a9f3047960 /src/thirdparty/unrar/rarvm.cpp
parent1918fb5fee04de2df3acb884d20896739b8f9e18 (diff)
Update unrar to v5.1.7.
Diffstat (limited to 'src/thirdparty/unrar/rarvm.cpp')
-rw-r--r--src/thirdparty/unrar/rarvm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thirdparty/unrar/rarvm.cpp b/src/thirdparty/unrar/rarvm.cpp
index f458eecb0..0dd38928a 100644
--- a/src/thirdparty/unrar/rarvm.cpp
+++ b/src/thirdparty/unrar/rarvm.cpp
@@ -984,7 +984,7 @@ void RarVM::ExecuteStandardFilter(VM_StandardFilters FilterType)
byte *SrcData=Mem,*DestData=SrcData+DataSize;
const int Channels=3;
SET_VALUE(false,&Mem[VM_GLOBALMEMADDR+0x20],DataSize);
- if ((uint)DataSize>=VM_GLOBALMEMADDR/2 || PosR<0)
+ if ((uint)DataSize>=VM_GLOBALMEMADDR/2 || Width<0 || PosR<0)
break;
for (int CurChannel=0;CurChannel<Channels;CurChannel++)
{