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
307531
Remove SWIFT_RETURNS_INDEPENDENT_VALUE
https://bugs.webkit.org/show_bug.cgi?id=307531
Summary
Remove SWIFT_RETURNS_INDEPENDENT_VALUE
adrian_taylor
Reported
2026-02-11 00:45:18 PST
The annotation SWIFT_RETURNS_INDEPENDENT_VALUE is undesirable, as mistakes using it can result in exploitable memory safety conditions. We want to avoid its use in WebKit as far as possible. Remove it in cases where we know how.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-02-11 00:45:25 PST
<
rdar://problem/170127262
>
adrian_taylor
Comment 2
2026-02-11 00:53:43 PST
Pull request:
https://github.com/WebKit/WebKit/pull/58389
EWS
Comment 3
2026-02-17 10:05:53 PST
Committed
307713@main
(b0d82122ac81): <
https://commits.webkit.org/307713@main
> Reviewed commits have been landed. Closing PR #58389 and removing active labels.
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