mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00: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:
parent
8a407b5c60
commit
e3a1c2c81b
1 changed files with 1 additions and 1 deletions
|
@ -5103,7 +5103,7 @@ RChangeServiceConfig2A(
|
||||||
SC_RPC_HANDLE hService,
|
SC_RPC_HANDLE hService,
|
||||||
SC_RPC_CONFIG_INFOA Info)
|
SC_RPC_CONFIG_INFOA Info)
|
||||||
{
|
{
|
||||||
SC_RPC_CONFIG_INFOW InfoW;
|
SC_RPC_CONFIG_INFOW InfoW = { 0 };
|
||||||
DWORD dwRet, dwLength;
|
DWORD dwRet, dwLength;
|
||||||
PVOID ptr = NULL;
|
PVOID ptr = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue