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

Matthias Baesken mbaesken at openjdk.org
Thu Mar 2 14:21:18 UTC 2023


On Thu, 2 Mar 2023 13:54:05 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> Thanks for the fix. I almost think we should invent a CHECK_NULL_GOTO_ERROUT macro, but your fix is also OK.

I think I  discussed a while back some extended CHECK_NULL_  - macros (I think it was for freeing before return) but it was not s well received.

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

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


More information about the security-dev mailing list