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

Matthias Baesken mbaesken at openjdk.org
Thu Mar 9 08:39:21 UTC 2023


The message from this sender included one or more files
which could not be scanned for virus detection; do not
open these files unless you are certain of the sender's intent.

----------------------------------------------------------------------
On Tue, 7 Mar 2023 15:56:55 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: a7e308ab
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a7e308ab6e5dba7df790840d29fc7edbf3af2e24
Stats:     7 lines in 1 file changed: 5 ins; 0 del; 2 mod

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

Reviewed-by: weijun

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

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



More information about the security-dev mailing list