Avoid crashing when unable to read pdb file.
This commit is contained in:
parent
b8675b4312
commit
aeffb6c312
|
@ -2583,6 +2583,14 @@ static enum DbgInfoLoad DEBUG_ProcessPDBFile( DBG_MODULE *module,
|
||||||
pdb_convert_types_header( &types, types_image );
|
pdb_convert_types_header( &types, types_image );
|
||||||
pdb_convert_symbols_header( &symbols, &header_size, symbols_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
|
* Check for unknown versions
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue