Skip to content

Commit e3a1c2c

Browse files
SergeGautherielearn-more
authored andcommitted
[SERVICES] RChangeServiceConfig2A(): Zero-Initialize InfoW variable
This lets forward NULL Info.psd/Info.psd->lpDescription/Info.psfa, instead of an uninitialized value. CORE-14521
1 parent 8a407b5 commit e3a1c2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/system/services/rpcserver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5103,7 +5103,7 @@ RChangeServiceConfig2A(
51035103
SC_RPC_HANDLE hService,
51045104
SC_RPC_CONFIG_INFOA Info)
51055105
{
5106-
SC_RPC_CONFIG_INFOW InfoW;
5106+
SC_RPC_CONFIG_INFOW InfoW = { 0 };
51075107
DWORD dwRet, dwLength;
51085108
PVOID ptr = NULL;
51095109

0 commit comments

Comments
 (0)