From: Eric Pouech eric.pouech@gmail.com
Signed-off-by: Eric Pouech eric.pouech@gmail.com --- tools/winedump/pe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/winedump/pe.c b/tools/winedump/pe.c index d901290be35..7ec378a19b8 100644 --- a/tools/winedump/pe.c +++ b/tools/winedump/pe.c @@ -468,7 +468,7 @@ static void dump_sections(const void *base, const void* addr, unsigned num_sect) unsigned i; const char* strtable;
- if (PE_nt_headers->FileHeader.PointerToSymbolTable && PE_nt_headers->FileHeader.NumberOfSymbols) + if (PE_nt_headers && PE_nt_headers->FileHeader.PointerToSymbolTable && PE_nt_headers->FileHeader.NumberOfSymbols) { strtable = (const char*)base + PE_nt_headers->FileHeader.PointerToSymbolTable +