mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[IP]
- Zero the sin_zero member in the TDI_ADDRESS_IP struct svn path=/trunk/; revision=53200
This commit is contained in:
@@ -640,6 +640,9 @@ NTSTATUS TCPGetSockAddress
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user