Fix some apparently longstanding crash bugs in Stackwalker implementations when resolver is NULL.

R=mark at http://breakpad.appspot.com/257001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@761 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
ted.mielczarek
2011-01-24 19:59:09 +00:00
parent b904343e14
commit 281d52d944
7 changed files with 75 additions and 13 deletions

View File

@@ -120,7 +120,8 @@ bool Stackwalker::Walk(CallStack *stack) {
if (resolver_->ShouldDeleteMemoryBufferAfterLoadModule())
supplier_->FreeSymbolData(module);
}
resolver_->FillSourceLineInfo(frame.get());
if (resolver_)
resolver_->FillSourceLineInfo(frame.get());
}
}