advapi32: Initialize svcctl_GetNotifyResults output parameter to NULL.

Otherwise rpcrt4 treats its uninitialized value as output buffer.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2018-04-06 16:01:31 +02:00 committed by Alexandre Julliard
parent add31e1d7a
commit 269dbdcfbf
1 changed files with 1 additions and 1 deletions

View File

@ -2637,7 +2637,7 @@ static DWORD WINAPI notify_thread(void *user)
{
DWORD err;
notify_data *data = user;
SC_RPC_NOTIFY_PARAMS_LIST *list;
SC_RPC_NOTIFY_PARAMS_LIST *list = NULL;
SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2 *cparams;
BOOL dummy;