On Thu, 3 Sep 2026 15:51:42 GMT, Matthias Baesken <[email protected]> wrote:

> In the libjaas nt.c coding the OpenProcessToken ( 
> https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-openprocesstoken
>  ) function is used.
> But this needs handle close operations ("To close the access token handle 
> returned through the TokenHandle parameter, call CloseHandle.") and they are 
> missing at some code location(s).
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Looks good.

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

Marked as reviewed by lucy (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/32689#pullrequestreview-5133871280

Reply via email to