5 Dec
2025
5 Dec
'25
10:07 a.m.
eric pouech (@epo) commented about dlls/kernel32/toolhelp.c:
{ hProcess = OpenProcess( PROCESS_VM_READ | PROCESS_QUERY_INFORMATION, FALSE, process ); if (!hProcess) return FALSE; + if (RtlIsCurrentProcess( hProcess )) hProcess = GetCurrentProcess();
that leaks the handle from OpenProcess -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9371#note_124888