RFR: 8303809: Dispose context in SPNEGO NegotiatorImpl
Weijun Wang
weijun at openjdk.org
Thu Mar 9 14:12:42 UTC 2023
On Wed, 8 Mar 2023 09:05:19 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
If context is not established after first call to `initSecContext`, will `nextToken` always be called? In case it's not called, which code change guarantees the context is disposed?
-------------
PR: https://git.openjdk.org/jdk/pull/12920
More information about the security-dev
mailing list