Eric Pouech : dbghelp: Fix invalid pointer dereference.
Alexandre Julliard
julliard at winehq.org
Mon Apr 14 07:14:08 CDT 2008
Module: wine
Branch: master
Commit: d2fa765087b0502242a1fa1ce2c8ad370be1e727
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d2fa765087b0502242a1fa1ce2c8ad370be1e727
Author: Eric Pouech <eric.pouech at 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;
}
More information about the wine-cvs
mailing list