mirror of https://github.com/x64dbg/TitanEngine
fix potential use of uninitialized variable
This commit is contained in:
parent
8a6f73bf40
commit
38082ded2e
|
|
@ -22984,12 +22984,12 @@ __declspec(dllexport) long long TITCALL TracerFixKnownRedirection(HANDLE hProces
|
|||
int i = NULL;
|
||||
DWORD TestAddressX86;
|
||||
DWORD ReadAddressX86;
|
||||
DWORD MaximumReadSize;
|
||||
DWORD MemoryHash = NULL;
|
||||
PMEMORY_CMP_HANDLER cMem;
|
||||
MEMORY_BASIC_INFORMATION MemInfo;
|
||||
ULONG_PTR ueNumberOfBytesRead = NULL;
|
||||
LPVOID TracerReadMemory = VirtualAlloc(NULL, 0x1000, MEM_COMMIT, PAGE_READWRITE);
|
||||
DWORD MaximumReadSize=0x1000;
|
||||
if(!TracerReadMemory)
|
||||
return (NULL);
|
||||
cMem = (PMEMORY_CMP_HANDLER)TracerReadMemory;
|
||||
|
|
|
|||
Loading…
Reference in New Issue