Fix segv in network_source_line_resolver_server_unittest

R=siyangxie
BUG=409


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@737 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
kmixter@chromium.org 2010-12-08 02:14:17 +00:00
parent fb7fdb9426
commit 6c05f5ddd9

View File

@ -98,7 +98,7 @@ bool Stackwalker::Walk(CallStack *stack) {
module->code_file()) == no_symbol_modules_.end() &&
supplier_) {
string symbol_file;
char *symbol_data;
char *symbol_data = NULL;
SymbolSupplier::SymbolResult symbol_result =
supplier_->GetCStringSymbolData(module,
system_info_,
@ -214,7 +214,7 @@ bool Stackwalker::InstructionAddressSeemsValid(u_int64_t address) {
if (!resolver_->HasModule(module)) {
string symbol_file;
char *symbol_data;
char *symbol_data = NULL;
SymbolSupplier::SymbolResult symbol_result =
supplier_->GetCStringSymbolData(module, system_info_,
&symbol_file, &symbol_data);