Avoid crashing when unable to read pdb file.

This commit is contained in:
André Johansen 2003-08-02 00:43:32 +00:00 committed by Alexandre Julliard
parent b8675b4312
commit aeffb6c312

View file

@ -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
*/