mirror of https://github.com/x64dbg/TitanEngine
fix buffer overflow
This commit is contained in:
parent
7b8f6f4656
commit
48c8a7820a
|
|
@ -230,7 +230,7 @@ __declspec(dllexport) void TITCALL StaticMemoryDecrypt(LPVOID MemoryStart, DWORD
|
||||||
BYTE DataByte = NULL;
|
BYTE DataByte = NULL;
|
||||||
WORD DataWord = NULL;
|
WORD DataWord = NULL;
|
||||||
DWORD DataDword = NULL;
|
DWORD DataDword = NULL;
|
||||||
ULONG_PTR DataQword = NULL;
|
ULONG64 DataQword = NULL;
|
||||||
|
|
||||||
//ignore too big stuff
|
//ignore too big stuff
|
||||||
if(DecryptionKeySize>sizeof(ULONG_PTR))
|
if(DecryptionKeySize>sizeof(ULONG_PTR))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue