Commit e421ff6b authored by Alexandre Julliard's avatar Alexandre Julliard

winedump: Don't crash when the PDB filenames table isn't found.

parent 51dd5c2e
......@@ -440,7 +440,7 @@ static void pdb_dump_symbols(struct pdb_reader* reader)
*/
codeview_dump_linetab2((const char*)modimage + symbol_size + lineno_size,
total_size - (symbol_size + lineno_size),
filesimage + 12, filessize, " ");
filesimage ? filesimage + 12 : NULL, filessize, " ");
/* what's that part ??? */
if (0)
dump_data(modimage + symbol_size + lineno_size, total_size - (symbol_size + lineno_size), " ");
......
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