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 f957d08 commit 680ffe3Copy full SHA for 680ffe3
compiler-rt/lib/scudo/standalone/combined.h
@@ -785,6 +785,8 @@ class Allocator {
785
// A corrupted chunk will not be reported as owned, which is WAI.
786
bool isOwned(const void *Ptr) {
787
initThreadMaybe();
788
+ // If the allocation is not owned, the tags could be wrong.
789
+ ScopedDisableMemoryTagChecks x;
790
#ifdef GWP_ASAN_HOOKS
791
if (GuardedAlloc.pointerIsMine(Ptr))
792
return true;
0 commit comments