WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
285084
Improve safety of WeakPtr / WeakRef
https://bugs.webkit.org/show_bug.cgi?id=285084
Summary
Improve safety of WeakPtr / WeakRef
Chris Dumez
Reported
2024-12-22 14:54:47 PST
Add release assertions to guard against null dererefence, given that it is undefined behavior. This tested as performance neutral.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2024-12-22 14:56:54 PST
Pull request:
https://github.com/WebKit/WebKit/pull/38325
EWS
Comment 2
2024-12-23 10:08:03 PST
Committed
288250@main
(7c0a83ba7ede): <
https://commits.webkit.org/288250@main
> Reviewed commits have been landed. Closing PR #38325 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2024-12-23 10:09:12 PST
<
rdar://problem/141950095
>
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