RFR: 8376300: Avoid more leaks in KeystoreImpl.m because of missing CFRelease calls

Matthias Baesken mbaesken at openjdk.org
Fri Feb 20 11:57:22 UTC 2026


On Thu, 19 Feb 2026 16:25:45 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> Seems there is a call to  SecIdentityCopyPrivateKey where we miss calling CFRelease in early returns/failure cases; same for SecIdentityCopyPrivateKey .
> 
> See the Apple documentation
> https://developer.apple.com/documentation/security/secidentitycopyprivatekey(_:_:)
> 
> Also for https://developer.apple.com/documentation/security/secidentitycopycertificate(_:_:)

GHA errors are unrelated,  docs is some infra issue . Linux had a timeout in langtools tests.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/29821#issuecomment-3933605633



More information about the security-dev mailing list