On Fri, 25 Sep 2026 13:50:35 GMT, Matthias Baesken <[email protected]> wrote:
> In Java_sun_net_www_protocol_http_ntlm_NTLMAuthSequence_getCredentialsHandle, > a CredHandle struct is allocated with a malloc call. > But the malloced memory is never freed if later in the same function the > AcquireCredentialsHandleA call fails. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: fb268a6f Author: Matthias Baesken <[email protected]> URL: https://git.openjdk.org/jdk/commit/fb268a6f43fb7e7a0b962d10504a686acfd883ff Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod 8392967: NTLMAuthSequence potential memory leak in getCredentialsHandle Reviewed-by: djelinski, dfuchs ------------- PR: https://git.openjdk.org/jdk/pull/33070
