Hans Leidekker : iphlpapi: Return a fully initialized GUID from ConvertInterfaceLuidToGuid.
Module: wine Branch: master Commit: c6e469347c1964dfa64a2e2289ad28c4be7ef9de URL: http://source.winehq.org/git/wine.git/?a=commit;h=c6e469347c1964dfa64a2e2289... Author: Hans Leidekker <hans(a)codeweavers.com> Date: Wed May 10 14:27:35 2017 +0200 iphlpapi: Return a fully initialized GUID from ConvertInterfaceLuidToGuid. Signed-off-by: Hans Leidekker <hans(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/iphlpapi/iphlpapi_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c index 1407bfb..b40f91b 100644 --- a/dlls/iphlpapi/iphlpapi_main.c +++ b/dlls/iphlpapi/iphlpapi_main.c @@ -3090,6 +3090,7 @@ DWORD WINAPI ConvertInterfaceLuidToGuid(const NET_LUID *luid, GUID *guid) row.dwIndex = luid->Info.NetLuidIndex; if ((ret = GetIfEntry( &row ))) return ret; + memset( guid, 0, sizeof(*guid) ); guid->Data1 = luid->Info.NetLuidIndex; return NO_ERROR; }
participants (1)
-
Alexandre Julliard