RFR: 8303809: Dispose context in SPNEGO NegotiatorImpl [v2]

Weijun Wang weijun at openjdk.org
Mon Mar 13 16:04:38 UTC 2023


On Fri, 10 Mar 2023 16:22:56 GMT, Alexey Bakhtin <abakhtin 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
>
> Alexey Bakhtin has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix formatting

src/java.base/share/classes/sun/net/www/protocol/http/NegotiateAuthentication.java line 254:

> 252:             try {
> 253:                 negotiator.disposeContext();
> 254:             } catch(IOException ioEx) {

Another whitespace is required after `catch`.

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

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



More information about the security-dev mailing list