Skip to content

Commit

Permalink
Fix missed pointer untagging
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiaHungDuan committed May 15, 2024
1 parent 17968aa commit 543e70f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/lib/scudo/standalone/combined.h
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ class Allocator {
}
}

NOINLINE void *retagBlock(const Options &Options, void *TaggedPtr, void *Ptr,
NOINLINE void *retagBlock(const Options &Options, void *TaggedPtr, void *&Ptr,
Chunk::UnpackedHeader *Header, const uptr Size,
bool BypassQuarantine) {
DCHECK(useMemoryTagging<AllocatorConfig>(Options));
Expand Down

0 comments on commit 543e70f

Please sign in to comment.