RFR [XS] : 8230861: missing ReleaseStringUTFChars in Java_sun_security_pkcs11_wrapper_PKCS11_connect

Alan Bateman Alan.Bateman at oracle.com
Wed Sep 11 15:35:54 UTC 2019



On 11/09/2019 16:13, Baesken, Matthias wrote:
>
> Hello, please review this small fix .
>
> It adds a ReleaseStringUTFChars   to an early  (special case)  return 
> in function Java_sun_security_pkcs11_wrapper_PKCS11_connect  .
>
> Bug/webrev :
>
> https://bugs.openjdk.java.net/browse/JDK-8230861
>
> http://cr.openjdk.java.net/~mbaesken/webrevs/8230861.0/
>
ReleaseStringUTFChars is safe to call when there is pending exception so 
I think this is okay.

-Alan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20190911/d3aeaa0f/attachment.htm>


More information about the security-dev mailing list