Christopher Ferris 7c260d3966
[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.
2026-04-01 16:44:31 -07:00
..
2023-09-28 15:40:42 +08:00