https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e3a1c2c81b2e1167552cb…
commit e3a1c2c81b2e1167552cbb8f8ca1d774e025ccd7
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Sat Jul 21 03:01:03 2018 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Tue Aug 21 17:36:46 2018 +0200
[SERVICES] RChangeServiceConfig2A(): Zero-Initialize InfoW variable
This lets forward NULL Info.psd/Info.psd->lpDescription/Info.psfa,
instead of an uninitialized value.
CORE-14521
---
base/system/services/rpcserver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/system/services/rpcserver.c b/base/system/services/rpcserver.c
index fcfb1115a3..351793736d 100644
--- a/base/system/services/rpcserver.c
+++ b/base/system/services/rpcserver.c
@@ -5103,7 +5103,7 @@ RChangeServiceConfig2A(
SC_RPC_HANDLE hService,
SC_RPC_CONFIG_INFOA Info)
{
- SC_RPC_CONFIG_INFOW InfoW;
+ SC_RPC_CONFIG_INFOW InfoW = { 0 };
DWORD dwRet, dwLength;
PVOID ptr = NULL;