Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ad4544045d66266cb0441e61ec89a439cd30dce5
https://github.com/WebKit/WebKit/commit/ad4544045d66266cb0441e61ec89a439cd30dce5
Author: Shu-yu Guo <[email protected]>
Date: 2025-12-17 (Wed, 17 Dec 2025)
Changed paths:
M Source/WTF/wtf/HashTable.h
Log Message:
-----------
[WTF] Check size in WTF::HashTable::expand
https://bugs.webkit.org/show_bug.cgi?id=301371
rdar://162695092
Reviewed by Yijia Huang.
Used checked arithmetic when computing new table sizes during HashTable
expansion to protect against overflows.
No tests are added as testing HashTables with sizes big enough that would
overflow unsigned is both slow and memory intensive.
Originally-landed-as: 301765.102@safari-7623-branch (bd2c16c27581).
rdar://166338469
Canonical link: https://commits.webkit.org/304636@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications