We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f23b5c commit 9c877d9Copy full SHA for 9c877d9
source/loader/layers/sanitizer/asan_interceptor.cpp
@@ -745,10 +745,9 @@ SanitizerInterceptor::findAllocInfoByAddress(uptr Address) {
745
return std::optional<AllocationIterator>{};
746
}
747
--It;
748
- auto &AI = It->second;
749
// Make sure we got the right AllocInfo
750
- assert(Address >= AI->AllocBegin &&
751
- Address < AI->AllocBegin + AI->AllocSize);
+ assert(Address >= It->second->AllocBegin &&
+ Address < It->second->AllocBegin + It->second->AllocSize);
752
return It;
753
754
0 commit comments