diff options
author | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-10-30 23:30:39 +0000 |
---|---|---|
committer | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-10-30 23:30:39 +0000 |
commit | 0e76d1fdf3e57e23f85a4194bc9dec476bcf26ae (patch) | |
tree | b25740ddc2fdde5bbede70de9dc113d6093aa9d4 /src/processor | |
parent | Fixed style error (diff) | |
download | breakpad-0e76d1fdf3e57e23f85a4194bc9dec476bcf26ae.tar.xz |
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
Diffstat (limited to 'src/processor')
-rw-r--r-- | src/processor/stackwalker_x86.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/processor/stackwalker_x86.cc b/src/processor/stackwalker_x86.cc index 4a7e811d..aeb18a9f 100644 --- a/src/processor/stackwalker_x86.cc +++ b/src/processor/stackwalker_x86.cc @@ -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; |