Author: cwittich
Date: Wed May 20 18:23:16 2009
New Revision: 41020
URL:
http://svn.reactos.org/svn/reactos?rev=41020&view=rev
Log:
add a parameter check to GetAdaptersAddresses stub (fixes a winetest)
Modified:
trunk/reactos/dll/win32/iphlpapi/iphlpapi_main.c
Modified: trunk/reactos/dll/win32/iphlpapi/iphlpapi_main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/iphlpap…
==============================================================================
--- trunk/reactos/dll/win32/iphlpapi/iphlpapi_main.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/iphlpapi/iphlpapi_main.c [iso-8859-1] Wed May 20 18:23:16
2009
@@ -2178,6 +2178,8 @@
*/
DWORD WINAPI GetAdaptersAddresses(ULONG Family,ULONG Flags,PVOID
Reserved,PIP_ADAPTER_ADDRESSES pAdapterAddresses,PULONG pOutBufLen)
{
+ if (!pOutBufLen) return ERROR_INVALID_PARAMETER;
+
FIXME(":stub\n");
return 0L;
}