Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b5fec9b33c4dd615c0e3b8bc1da3549280777502
https://github.com/WebKit/WebKit/commit/b5fec9b33c4dd615c0e3b8bc1da3549280777502
Author: Daniel Liu <[email protected]>
Date: 2025-11-18 (Tue, 18 Nov 2025)
Changed paths:
M Source/bmalloc/bmalloc/TZoneHeapManager.cpp
Log Message:
-----------
Strengthen TZone bucket allocation randomization
https://bugs.webkit.org/show_bug.cgi?id=299486
rdar://157014281
Reviewed by Keith Miller.
This patch strengthens TZone's bucket allocation randomization by utilizing
HMAC instead of a PRNG. For systems without CommonCrypto, the fallback is a
PRNG.
* Source/bmalloc/bmalloc/TZoneHeapManager.cpp:
(bmalloc::api::TZoneHeapManager::tzoneBucketForKey):
Originally-landed-as: 297297.481@safari-7622-branch (4d7b31cea437).
rdar://164211939
Canonical link: https://commits.webkit.org/303200@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications