RESOLVED FIXED285788
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
Chris Dumez
Comment 1 2025-01-10 17:01:23 PST
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
Note You need to log in before you can comment on or make changes to this bug.