> 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 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/33070/files - new: https://git.openjdk.org/jdk/pull/33070/files/35b2d47a..bee107e8 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33070&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33070&range=00-01 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/33070.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33070/head:pull/33070 PR: https://git.openjdk.org/jdk/pull/33070
