Author: akhaldi
Date: Wed Oct 5 09:39:12 2016
New Revision: 72910
URL:
http://svn.reactos.org/svn/reactos?rev=72910&view=rev
Log:
[MSAFD] Fix socket address length returned in WSPAccept. By Peter Hater. CORE-8549
Modified:
trunk/reactos/dll/win32/msafd/misc/dllmain.c
Modified: trunk/reactos/dll/win32/msafd/misc/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msafd/misc/dllma…
==============================================================================
--- trunk/reactos/dll/win32/msafd/misc/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msafd/misc/dllmain.c [iso-8859-1] Wed Oct 5 09:39:12 2016
@@ -1413,7 +1413,7 @@
&ListenReceiveData->Address.Address[0].AddressType,
sizeof(*RemoteAddress));
if( SocketAddressLength )
- *SocketAddressLength =
ListenReceiveData->Address.Address[0].AddressLength;
+ *SocketAddressLength = sizeof(*RemoteAddress);
}
NtClose( SockEvent );