Bug 285084
| Summary: | Improve safety of WeakPtr / WeakRef | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | Web Template Framework | Assignee: | 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
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
Pull request: https://github.com/WebKit/WebKit/pull/38325
EWS
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
<rdar://problem/141950095>