iphlpapi: Return a fully initialized GUID from ConvertInterfaceLuidToGuid.
Hans Leidekker
hans at codeweavers.com
Wed May 10 07:27:35 CDT 2017
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
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 1407bfbcfe..b40f91b91a 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;
}
--
2.11.0
More information about the wine-patches
mailing list