fix buffer overflow

This commit is contained in:
deep0 2014-03-12 02:01:01 +01:00
parent 7b8f6f4656
commit 48c8a7820a
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ __declspec(dllexport) void TITCALL StaticMemoryDecrypt(LPVOID MemoryStart, DWORD
BYTE DataByte = NULL;
WORD DataWord = NULL;
DWORD DataDword = NULL;
ULONG_PTR DataQword = NULL;
ULONG64 DataQword = NULL;
//ignore too big stuff
if(DecryptionKeySize>sizeof(ULONG_PTR))