Integrated: JDK-8303354: addCertificatesToKeystore in KeystoreImpl.m needs CFRelease call in early potential CHECK_NULL return

Matthias Baesken mbaesken at openjdk.org
Thu Mar 2 14:24:41 UTC 2023


On Tue, 28 Feb 2023 15:17:19 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> We have a (potential) early return in addCertificatesToKeystore in KeystoreImpl.m . This is implemented by the CHECK_NULL macro. However this missed a CFRelease call.

This pull request has now been integrated.

Changeset: b51ea420
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b51ea4204eaa18687e7712e87cdc92efbddfcb5b
Stats:     24 lines in 1 file changed: 17 ins; 0 del; 7 mod

8303354: addCertificatesToKeystore in KeystoreImpl.m needs CFRelease call in early potential CHECK_NULL return

Reviewed-by: clanger, mdoerr, weijun

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

PR: https://git.openjdk.org/jdk/pull/12788



More information about the security-dev mailing list