Commit 7ec1ae2b authored by Fabian Maurer's avatar Fabian Maurer Committed by Alexandre Julliard

hnetcfg/tests: Pass correct parameter to WNetGetUniversalNameW.

Currently a pointer to a local variable is passed, that causes severe stack corruption. Signed-off-by: 's avatarFabian Maurer <dark.shadow4@web.de> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 94dda469
......@@ -144,7 +144,7 @@ static void test_NetFwAuthorizedApplication(void)
info = (UNIVERSAL_NAME_INFOW *)&netpath;
sz = sizeof(netpath);
hr = WNetGetUniversalNameW(image, UNIVERSAL_NAME_INFO_LEVEL, &info, &sz);
hr = WNetGetUniversalNameW(image, UNIVERSAL_NAME_INFO_LEVEL, info, &sz);
if (hr != NO_ERROR)
{
info->lpUniversalName = netpath + sizeof(*info)/sizeof(WCHAR);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment