Module: wine Branch: master Commit: d2fa765087b0502242a1fa1ce2c8ad370be1e727 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d2fa765087b0502242a1fa1ce2...
Author: Eric Pouech eric.pouech@orange.fr Date: Sat Apr 12 12:58:50 2008 +0200
dbghelp: Fix invalid pointer dereference.
---
dlls/dbghelp/pe_module.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dbghelp/pe_module.c b/dlls/dbghelp/pe_module.c index ca40417..533cfeb 100644 --- a/dlls/dbghelp/pe_module.c +++ b/dlls/dbghelp/pe_module.c @@ -456,7 +456,7 @@ PVOID WINAPI ImageDirectoryEntryToDataEx( PVOID base, BOOLEAN image, USHORT dir, *size = nt->OptionalHeader.DataDirectory[dir].Size; if (image || addr < nt->OptionalHeader.SizeOfHeaders) { - if (*section) *section = NULL; + if (section) *section = NULL; return (char *)base + addr; }