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

Matthias Baesken mbaesken at openjdk.org
Tue Feb 28 15:25:11 UTC 2023


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.

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

Commit messages:
 - JDK-8303354

Changes: https://git.openjdk.org/jdk/pull/12788/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12788&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8303354
  Stats: 5 lines in 1 file changed: 3 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/12788.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12788/head:pull/12788

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



More information about the security-dev mailing list