https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cbae866df3c6f2f9b7a0f5...
commit cbae866df3c6f2f9b7a0f5362debcbf11c253f1c Author: Hermès Bélusca-Maïto hermes.belusca-maito@reactos.org AuthorDate: Wed May 17 15:48:10 2023 +0200 Commit: Hermès Bélusca-Maïto hermes.belusca-maito@reactos.org CommitDate: Wed May 17 16:17:42 2023 +0200
[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. --- dll/win32/kernel32/client/proc.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dll/win32/kernel32/client/proc.c b/dll/win32/kernel32/client/proc.c index 6a9fc1087ab..5a8c78c1364 100644 --- a/dll/win32/kernel32/client/proc.c +++ b/dll/win32/kernel32/client/proc.c @@ -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 */