RFR: JDK-8303576: addIdentitiesToKeystore in KeystoreImpl.m needs CFRelease call in early potential CHECK_NULL return

Matthias Baesken mbaesken at openjdk.org
Tue Mar 7 16:04:21 UTC 2023


Similar to what had been done in [JDK-8303354](https://bugs.openjdk.org/browse/JDK-8303354) , we miss CFRelease on the variable identitySearch in early CHECK_NULL returns potentially done in the function addIdentitiesToKeystore.

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

Commit messages:
 - JDK-8303576

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

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



More information about the security-dev mailing list