[KERNEL32] CreateProcessInternalW: Initialize uninitialized ClientId.

This situation happens when either of the two "goto VdmShortCircuit;"
code paths are taken when starting a DOS or WoW16 app.
This commit is contained in:
Hermès Bélusca-Maïto 2023-05-17 15:48:10 +02:00
parent 1cbcc4ac5c
commit cbae866df3
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -2353,6 +2353,7 @@ CreateProcessInternalW(IN HANDLE hUserToken,
SectionHandle = NULL;
ProcessHandle = NULL;
ThreadHandle = NULL;
ClientId.UniqueProcess = ClientId.UniqueThread = 0;
BaseAddress = (PVOID)1;
/* Zero out initial SxS and Application Compatibility state */