mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 17:00:51 +08:00
[SERVICES] RChangeServiceConfig2A(): Zero-Initialize InfoW variable
This lets forward NULL Info.psd/Info.psd->lpDescription/Info.psfa, instead of an uninitialized value. CORE-14521
This commit is contained in:
committed by
Mark Jansen
parent
8a407b5c60
commit
e3a1c2c81b
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user