fix potential use of uninitialized variable

This commit is contained in:
deepzero 2014-01-15 08:51:25 +01:00 committed by cypherpunk
parent 7f919fbeb0
commit f6d584ab99
1 changed files with 1 additions and 1 deletions

View File

@ -21463,12 +21463,12 @@ __declspec(dllexport) long long TITCALL TracerFixKnownRedirection(HANDLE hProces
int i = NULL; int i = NULL;
DWORD TestAddressX86; DWORD TestAddressX86;
DWORD ReadAddressX86; DWORD ReadAddressX86;
DWORD MaximumReadSize;
DWORD MemoryHash = NULL; DWORD MemoryHash = NULL;
PMEMORY_CMP_HANDLER cMem; PMEMORY_CMP_HANDLER cMem;
MEMORY_BASIC_INFORMATION MemInfo; MEMORY_BASIC_INFORMATION MemInfo;
ULONG_PTR ueNumberOfBytesRead = NULL; ULONG_PTR ueNumberOfBytesRead = NULL;
LPVOID TracerReadMemory = VirtualAlloc(NULL, 0x1000, MEM_COMMIT, PAGE_READWRITE); LPVOID TracerReadMemory = VirtualAlloc(NULL, 0x1000, MEM_COMMIT, PAGE_READWRITE);
DWORD MaximumReadSize=0x1000;
if(!TracerReadMemory) if(!TracerReadMemory)
return (NULL); return (NULL);
cMem = (PMEMORY_CMP_HANDLER)TracerReadMemory; cMem = (PMEMORY_CMP_HANDLER)TracerReadMemory;