summaryrefslogtreecommitdiff
path: root/src/modules/plugins/dll_sniffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/plugins/dll_sniffer.cpp')
-rw-r--r--src/modules/plugins/dll_sniffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/plugins/dll_sniffer.cpp b/src/modules/plugins/dll_sniffer.cpp
index 7e16df10aa..2b5f2822fd 100644
--- a/src/modules/plugins/dll_sniffer.cpp
+++ b/src/modules/plugins/dll_sniffer.cpp
@@ -62,7 +62,7 @@ MUUID* GetPluginInterfaces(const TCHAR* ptszFileName, bool& bIsPlugin)
if (ptr == NULL)
__leave;
- PIMAGE_NT_HEADERS pINTH;
+ PIMAGE_NT_HEADERS pINTH = { 0 };
PIMAGE_DOS_HEADER pIDH = (PIMAGE_DOS_HEADER)ptr;
if ( pIDH->e_magic == IMAGE_DOS_SIGNATURE )
pINTH = (PIMAGE_NT_HEADERS)(ptr + pIDH->e_lfanew);