Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 88167d46efc92966ef90c5e8cf45d77caebfaa10
https://github.com/WebKit/WebKit/commit/88167d46efc92966ef90c5e8cf45d77caebfaa10
Author: Marcus Plutowski <[email protected]>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
M Source/bmalloc/libpas/src/libpas/bmalloc_heap_utils.c
M Source/bmalloc/libpas/src/test/BmallocTests.cpp
Log Message:
-----------
[libpas] Fix fastMallocSize in presence of MTE
https://bugs.webkit.org/show_bug.cgi?id=325834
rdar://problem/188842884
Reviewed by Dan Hecht.
The previous patch 322175@main enabled the second tagged_bmalloc_heap,
meaning that libpas allocations can be served from different pas heap
configs when MTE is enabled. fastMallocSize was not updated to
accomodate this, breaking consumers like sqlite in certain scenarios.
Tested via testBmallocMallocSizeAcrossHeaps in libpas tests
* Source/bmalloc/libpas/src/libpas/bmalloc_heap_utils.c:
(bmalloc_get_allocation_size):
* Source/bmalloc/libpas/src/test/BmallocTests.cpp:
(std::testBmallocMallocSizeAcrossHeaps):
(addBmallocTests):
Canonical link: https://commits.webkit.org/322325@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications