diff options
Diffstat (limited to '7zip/Archive/7z_C/7zExtract.c')
-rwxr-xr-x | 7zip/Archive/7z_C/7zExtract.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/7zip/Archive/7z_C/7zExtract.c b/7zip/Archive/7z_C/7zExtract.c index 6ef872c3..aa75659b 100755 --- a/7zip/Archive/7z_C/7zExtract.c +++ b/7zip/Archive/7z_C/7zExtract.c @@ -38,6 +38,8 @@ SZ_RESULT SzExtract( Byte *inBuffer = 0; size_t processedSize; #endif + if (unPackSize != (size_t)unPackSize) + return SZE_OUTOFMEMORY; *blockIndex = folderIndex; allocMain->Free(*outBuffer); *outBuffer = 0; |