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:
nealsid 2009-10-30 23:30:39 +00:00
parent 96c69639ee
commit 0e76d1fdf3

View file

@ -447,7 +447,7 @@ bool StackwalkerX86::ScanForReturnAddress(u_int32_t location_start,
if (!memory_->GetMemoryAtAddress(location, &eip)) if (!memory_->GetMemoryAtAddress(location, &eip))
break; break;
if (modules_->GetModuleForAddress(eip) && if (modules_ && modules_->GetModuleForAddress(eip) &&
InstructionAddressSeemsValid(eip)) { InstructionAddressSeemsValid(eip)) {
eip_found = eip; eip_found = eip;