Bug 254667 - attributeArrayRef is leaked in exportLocalAuthenticatorCredentialWithGroupAndID
Summary: attributeArrayRef is leaked in exportLocalAuthenticatorCredentialWithGroupAndID
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Process Model (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-29 09:07 PDT by Seija K.
Modified: 2023-03-29 16:16 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seija K. 2023-03-29 09:07:50 PDT
We do not assign the result of SecItemCopyMatching to a smart pointer, which means the memory is leaked.
Comment 1 Seija K. 2023-03-29 09:15:34 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12117
Comment 2 EWS 2023-03-29 16:15:29 PDT
Committed 262299@main (2e399bd0c6f4): <https://commits.webkit.org/262299@main>

Reviewed commits have been landed. Closing PR #12117 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-03-29 16:16:22 PDT
<rdar://problem/107391411>