mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-24 06:25:46 +01:00
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:
parent
fb7fdb9426
commit
6c05f5ddd9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user