diff options
author | XhmikosR <xhmikosr@gmail.com> | 2014-08-06 20:43:53 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2014-08-19 21:59:22 +0400 |
commit | b56235a26018a98ac6a9de549dd96d9c49f2703b (patch) | |
tree | 31d5425eefd0069a8654702ee2b9e3a9f3047960 /src/thirdparty/unrar/rarvm.cpp | |
parent | 1918fb5fee04de2df3acb884d20896739b8f9e18 (diff) |
Update unrar to v5.1.7.
Diffstat (limited to 'src/thirdparty/unrar/rarvm.cpp')
-rw-r--r-- | src/thirdparty/unrar/rarvm.cpp | 2 |
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++) { |