summaryrefslogtreecommitdiff
path: root/src/modules/plugins/dll_sniffer.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-06-02 14:42:45 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-06-02 14:42:45 +0000
commit139cfdf630b6257529a3f4bad40463e73fc38d7d (patch)
treefd6b02c9212083cd67e317f60fb962c45502369f /src/modules/plugins/dll_sniffer.cpp
parent072a18963fcb2dd827533a1cc625390375856f0a (diff)
minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@9397 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);