[Bug 19430] winedump: null pointer dereference in spec mode

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 23 11:17:04 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=19430


Austin English <austinenglish at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch




--- Comment #2 from Austin English <austinenglish at gmail.com>  2009-07-23 11:17:03 ---
diff --git a/tools/winedump/pe.c b/tools/winedump/pe.c
index 5ff8a16..85540d9 100644
--- a/tools/winedump/pe.c
+++ b/tools/winedump/pe.c
 -1595,7 +1595,7 @@ int dll_open (const char *dll_name)
  */
 int dll_next_symbol (parsed_symbol * sym)
 {
-    if (!dll_current_symbol->symbol)
+    if (!dll_current_symbol || !dll_current_symbol->symbol)
        return 1;

     assert (dll_symbols);

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list