RFR: 8303809: Dispose context in SPNEGO NegotiatorImpl

Alexey Bakhtin abakhtin at openjdk.org
Thu Mar 9 08:25:09 UTC 2023


On Wed, 8 Mar 2023 12:24:51 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> This patch fixes a possible native memory leak in case of a custom native GSS provider.
>> The actual leak was reported in production.
>> 
>> sun/security/jgss, sun/security/krb5, sun/net/www/protocol/http jtreg tests are passed
>
> src/java.security.jgss/share/classes/sun/net/www/protocol/http/spnego/NegotiatorImpl.java line 182:
> 
>> 180:                 context.dispose();
>> 181:             }
>> 182:         }catch (GSSException e) {
> 
> Trivially: please add space after `}`

Thank you. Sure, I will fix

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

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



More information about the security-dev mailing list