Author: cgutman
Date: Sat Aug 13 04:03:26 2011
New Revision: 53200
URL:
http://svn.reactos.org/svn/reactos?rev=53200&view=rev
Log:
[IP]
- Zero the sin_zero member in the TDI_ADDRESS_IP struct
Modified:
trunk/reactos/lib/drivers/ip/transport/tcp/tcp.c
Modified: trunk/reactos/lib/drivers/ip/transport/tcp/tcp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/transport/t…
==============================================================================
--- trunk/reactos/lib/drivers/ip/transport/tcp/tcp.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/ip/transport/tcp/tcp.c [iso-8859-1] Sat Aug 13 04:03:26
2011
@@ -640,6 +640,9 @@
UnlockObject(Connection, OldIrql);
AddressIP->Address[0].Address[0].in_addr = ipaddr.addr;
+
+ RtlZeroMemory(&AddressIP->Address[0].Address[0].sin_zero,
+ sizeof(AddressIP->Address[0].Address[0].sin_zero));
return Status;
}