Commit aeffb6c3 authored by André Johansen's avatar André Johansen Committed by Alexandre Julliard

Avoid crashing when unable to read pdb file.

parent b8675b43
......@@ -2583,6 +2583,14 @@ static enum DbgInfoLoad DEBUG_ProcessPDBFile( DBG_MODULE *module,
pdb_convert_types_header( &types, types_image );
pdb_convert_symbols_header( &symbols, &header_size, symbols_image );
if ( !root )
{
DEBUG_Printf( DBG_CHN_ERR,
"-Unable to get root from .PDB file %s\n",
filename );
goto leave;
}
/*
* Check for unknown versions
*/
......
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