Emergency crash fix, tbr=bryner
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@147 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
@@ -615,7 +615,8 @@ int PDBSourceLineWriter::GetFunctionStackParamSize(IDiaSymbol *function) {
|
|||||||
goto next_child;
|
goto next_child;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FAILED(child->get_type(&child_type))) {
|
// IDiaSymbol::get_type can succeed but still pass back a NULL value.
|
||||||
|
if (FAILED(child->get_type(&child_type)) || !child_type) {
|
||||||
goto next_child;
|
goto next_child;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user