Author: ekohl
Date: Sat Feb 22 13:55:29 2014
New Revision: 62288
URL:
http://svn.reactos.org/svn/reactos?rev=62288&view=rev
Log:
[NETAPI32]
NetGetJoinInformation: Fix netapi32 wksta winetest crash.
Modified:
trunk/reactos/dll/win32/netapi32/wksta.c
Modified: trunk/reactos/dll/win32/netapi32/wksta.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/wksta.c…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/wksta.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/wksta.c [iso-8859-1] Sat Feb 22 13:55:29 2014
@@ -570,6 +570,9 @@
{
FIXME("Stub %s %p %p\n", wine_dbgstr_w(Server), Name, type);
+ if (Name == NULL || type == NULL)
+ return ERROR_INVALID_PARAMETER;
+
*Name = NULL;
*type = NetSetupUnknownStatus;