Minidump without context crashes the processor (#153). r=bryner

http://groups.google.com/group/google-breakpad-dev/browse_thread/thread/2d221bd478bec550


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@148 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
mmentovai 2007-04-25 19:38:01 +00:00
parent 329e6a9630
commit 3c27dcc1b6

View file

@ -139,6 +139,9 @@ Stackwalker* Stackwalker::StackwalkerForCPU(
const CodeModules *modules, const CodeModules *modules,
SymbolSupplier *supplier, SymbolSupplier *supplier,
SourceLineResolverInterface *resolver) { SourceLineResolverInterface *resolver) {
if (!context)
return NULL;
Stackwalker *cpu_stackwalker = NULL; Stackwalker *cpu_stackwalker = NULL;
u_int32_t cpu = context->GetContextCPU(); u_int32_t cpu = context->GetContextCPU();