diff options
author | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-04-25 15:17:19 +0000 |
---|---|---|
committer | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-04-25 15:17:19 +0000 |
commit | 329e6a963043bf3cc687d1b0f5740d5bf9cd77e0 (patch) | |
tree | b92c9177b965cab28f0a635b5d46c4828d831d0d /src/common | |
parent | Truncated Windows/x86 stacks when using FPO. Add stack scanning to recover (diff) | |
download | breakpad-329e6a963043bf3cc687d1b0f5740d5bf9cd77e0.tar.xz |
Emergency crash fix, tbr=bryner
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@147 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/windows/pdb_source_line_writer.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/windows/pdb_source_line_writer.cc b/src/common/windows/pdb_source_line_writer.cc index 2fff67b0..0392627f 100644 --- a/src/common/windows/pdb_source_line_writer.cc +++ b/src/common/windows/pdb_source_line_writer.cc @@ -615,7 +615,8 @@ int PDBSourceLineWriter::GetFunctionStackParamSize(IDiaSymbol *function) { 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; } |