From f6d584ab99d0e181225f07a2e7aa960f2a4dd565 Mon Sep 17 00:00:00 2001 From: deepzero Date: Wed, 15 Jan 2014 08:51:25 +0100 Subject: [PATCH] fix potential use of uninitialized variable --- TitanEngine/TitanEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TitanEngine/TitanEngine.cpp b/TitanEngine/TitanEngine.cpp index 297a80e..7dd636c 100644 --- a/TitanEngine/TitanEngine.cpp +++ b/TitanEngine/TitanEngine.cpp @@ -21463,12 +21463,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;