Commit 29e58e30 authored by Tillmann Werner's avatar Tillmann Werner Committed by Alexandre Julliard

winedump: Fix null pointer dereference in spec mode.

parent 5e39af26
......@@ -1631,11 +1631,9 @@ int dll_open (const char *dll_name)
*/
int dll_next_symbol (parsed_symbol * sym)
{
if (!dll_current_symbol->symbol)
return 1;
assert (dll_symbols);
if (!dll_current_symbol || !dll_current_symbol->symbol)
return 1;
assert (dll_symbols);
sym->symbol = strdup (dll_current_symbol->symbol);
sym->ordinal = dll_current_symbol->ordinal;
dll_current_symbol++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment