Bug 285084

Summary: Improve safety of WeakPtr / WeakRef
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Web Template FrameworkAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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
Chris Dumez
Comment 1 2024-12-22 14:56:54 PST
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
Note You need to log in before you can comment on or make changes to this bug.