[PATCH] D114022: [scudo] Fix MTE crash in storeEndMarker.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 16 12:29:40 PST 2021


pcc added inline comments.


================
Comment at: compiler-rt/lib/scudo/standalone/combined.h:1169
     uptr UntaggedEnd = untagPointer(End);
-    if (UntaggedEnd != BlockEnd) {
+    uptr UntaggedBlockEnd = untagPointer(BlockEnd);
+    if (UntaggedEnd != UntaggedBlockEnd) {
----------------
Can we fix the caller to untag BlockEnd instead?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114022/new/

https://reviews.llvm.org/D114022



More information about the llvm-commits mailing list