WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
250080
_WKAuthenticatorAttestationResponse and _WKAuthenticatorResponse should retain/copy their instance variables
https://bugs.webkit.org/show_bug.cgi?id=250080
Summary
_WKAuthenticatorAttestationResponse and _WKAuthenticatorResponse should retai...
David Kilzer (:ddkilzer)
Reported
2023-01-04 09:27:10 PST
_WKAuthenticatorAttestationResponse and _WKAuthenticatorResponse should retain their instance variables. Currently they are storing NSObject types as the equivalent of __unsafe_unretained, and not copying @property objects with the `copy` attribute. Found by clang static analyzer (as leaks, but only when using getter/setter methods, not via direct assignment).
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-01-04 09:27:38 PST
<
rdar://problem/103876775
>
David Kilzer (:ddkilzer)
Comment 2
2023-01-04 10:39:06 PST
Pull request:
https://github.com/WebKit/WebKit/pull/8198
EWS
Comment 3
2023-01-04 20:30:53 PST
Committed
258471@main
(fe1655421cc5): <
https://commits.webkit.org/258471@main
> Reviewed commits have been landed. Closing PR #8198 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