Fix when walking stack when no module list is present and the return address has to be
scanned. http://breakpad.appspot.com/36002 R=doshimun A=nealsid git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@420 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
96c69639ee
commit
0e76d1fdf3
@ -447,7 +447,7 @@ bool StackwalkerX86::ScanForReturnAddress(u_int32_t location_start,
|
||||
if (!memory_->GetMemoryAtAddress(location, &eip))
|
||||
break;
|
||||
|
||||
if (modules_->GetModuleForAddress(eip) &&
|
||||
if (modules_ && modules_->GetModuleForAddress(eip) &&
|
||||
InstructionAddressSeemsValid(eip)) {
|
||||
|
||||
eip_found = eip;
|
||||
|
Loading…
Reference in New Issue
Block a user