We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30c2167 commit 07647a1Copy full SHA for 07647a1
1 file changed
source/loader/layers/sanitizer/msan/msan_interceptor.cpp
@@ -390,10 +390,12 @@ MsanInterceptor::findAllocInfoByAddress(uptr Address) {
390
}
391
--It;
392
393
+ // Since we haven't intercepted all USM APIs, we can't make sure the found AllocInfo is correct.
394
if (Address < It->second->AllocBegin ||
395
Address >= It->second->AllocBegin + It->second->AllocSize) {
396
return std::nullopt;
397
398
+
399
return It;
400
401
0 commit comments