[Webkit-unassigned] [Bug 250080] New: _WKAuthenticatorAttestationResponse and _WKAuthenticatorResponse should retain/copy their instance variables

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 4 09:27:10 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=250080

            Bug ID: 250080
           Summary: _WKAuthenticatorAttestationResponse and
                    _WKAuthenticatorResponse should retain/copy their
                    instance variables
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: j_pascoe at apple.com, kkinnunen at apple.com

_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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230104/509535af/attachment.htm>


More information about the webkit-unassigned mailing list