[compiler-rt] [scudo] Avoid accessing inaccessible pages in unmap() in secondary (PR #102367)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 7 15:41:52 PDT 2024
================
@@ -823,7 +823,11 @@ void MapAllocator<Config>::deallocate(const Options &Options, void *Ptr)
Cache.store(Options, H->CommitBase, H->CommitSize,
reinterpret_cast<uptr>(H + 1), H->MemMap);
} else {
- unmap(H->MemMap);
+ // Note that the `H->MapMap` is stored on the pages managed by itself. Take
----------------
ChiaHungDuan wrote:
Done
https://github.com/llvm/llvm-project/pull/102367
More information about the llvm-commits
mailing list