winedump patch fixes null pointer dereference in spec mode
Tillmann Werner
tillmann.werner at gmx.de
Mon Jan 4 17:04:14 CST 2010
Hi,
find the patch for <http://bugs.winehq.org/show_bug.cgi?id=19430> below.
Tillmann
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);
More information about the wine-patches
mailing list