WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
279544
[WTF] Introduce validateKey to HashMap (2/3)
https://bugs.webkit.org/show_bug.cgi?id=279544
Summary
[WTF] Introduce validateKey to HashMap (2/3)
zak ridouh
Reported
2024-09-11 14:26:54 PDT
Elevate `ASSERT`s to `RELEASE_ASSERT`s in `WTF::HashTable::checkKey()` and introduce a new type alias for a safe hashmap, aptly called `SafeHashMap`. Enable it in a single location to introduce it to the codebase (WebGPU/RenderPassEncoder.h). Followup patches will expand on this, with the ultimate goal of having HashMap be safe by default. [1] [1]
https://bugs.webkit.org/show_bug.cgi?id=278488
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-09-11 14:27:05 PDT
<
rdar://problem/135826905
>
zak ridouh
Comment 2
2024-09-11 14:29:02 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/33494
EWS
Comment 3
2024-10-17 00:44:02 PDT
Committed
285319@main
(df2b100eb9bb): <
https://commits.webkit.org/285319@main
> Reviewed commits have been landed. Closing PR #33494 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug