https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b29b2682bfd554df5b447db7fbf96e376f721fdc

commit b29b2682bfd554df5b447db7fbf96e376f721fdc
Author:     Timo Kreuzer <[email protected]>
AuthorDate: Thu Jun 1 13:44:05 2023 +0300
Commit:     GitHub <[email protected]>
CommitDate: Thu Jun 1 19:44:05 2023 +0900

    [UMPNPMGR] Fix uninitialized variable (#5310)
    
    The unhiding and guilty revision that was identified by @stasm by bisecting 
the
    bootability of LiveCD was 0.4.15-dev-6050-g13e6cbc
    As that was the symptom: "We could not longer boot livecd". CORE-18986
---
 base/services/umpnpmgr/rpcserver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/services/umpnpmgr/rpcserver.c 
b/base/services/umpnpmgr/rpcserver.c
index 4ec7c55ff45..70acf5e12ba 100644
--- a/base/services/umpnpmgr/rpcserver.c
+++ b/base/services/umpnpmgr/rpcserver.c
@@ -696,7 +696,7 @@ PNP_ReportLogOn(
     DWORD ProcessId)
 {
     DWORD ReturnValue = CR_FAILURE;
-    HANDLE hProcess;
+    HANDLE hProcess = NULL;
 
     UNREFERENCED_PARAMETER(Admin);
 

Reply via email to