On Tue, 29 Sep 2026 15:45:47 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).
>
> Matthias Baesken has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Avoid NULL check before free

Marked as reviewed by djelinski (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/33070#pullrequestreview-5357558895

Reply via email to