[all-commits] [llvm/llvm-project] 7c260d: [scudo] Fix reallocate for MTE. (#190086)
Christopher Ferris via All-commits
all-commits at lists.llvm.org
Wed Apr 1 16:44:53 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7c260d3966534031f9fe3a35b54887f6d979606d
https://github.com/llvm/llvm-project/commit/7c260d3966534031f9fe3a35b54887f6d979606d
Author: Christopher Ferris <cferris1000 at users.noreply.github.com>
Date: 2026-04-01 (Wed, 01 Apr 2026)
Changed paths:
M compiler-rt/lib/scudo/standalone/combined.h
Log Message:
-----------
[scudo] Fix reallocate for MTE. (#190086)
For MTE, we can't use the whole size or we might trigger a segfault.
Therefore, use the exact size when MTE is enabled or the exact usable
size parameter is true.
Also, optimize out the call to getUsableSize and use a simpler
calculation.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list