WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
285788
Make CheckedPtr / CheckedRef dereferencing safer
https://bugs.webkit.org/show_bug.cgi?id=285788
Summary
Make CheckedPtr / CheckedRef dereferencing safer
Chris Dumez
Reported
2025-01-10 16:59:45 PST
Make CheckedPtr / CheckedRef dereferencing safer by RELEASE_ASSERT() that the pointer is not null. This is important since null dereferencing is undefined behavior. This tested as performance neutral on Speedometer and JetStream.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2025-01-10 17:01:23 PST
Pull request:
https://github.com/WebKit/WebKit/pull/38884
EWS
Comment 2
2025-01-11 13:49:35 PST
Committed
288764@main
(00b2154f4013): <
https://commits.webkit.org/288764@main
> Reviewed commits have been landed. Closing PR #38884 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-01-11 13:50:15 PST
<
rdar://problem/142751627
>
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