mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:45:40 +00:00
[IP]
- Zero the sin_zero member in the TDI_ADDRESS_IP struct svn path=/trunk/; revision=53200
This commit is contained in:
parent
ea132356c2
commit
86f6c946e7
1 changed files with 3 additions and 0 deletions
|
@ -640,6 +640,9 @@ NTSTATUS TCPGetSockAddress
|
||||||
UnlockObject(Connection, OldIrql);
|
UnlockObject(Connection, OldIrql);
|
||||||
|
|
||||||
AddressIP->Address[0].Address[0].in_addr = ipaddr.addr;
|
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;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue