mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
- Don't access an index outside the array bounds
- Fixes memory corruption when calling AfdGetSockName and AfdGetPeerName - This caused a high-side redzone overwrite when accessing some web sites svn path=/trunk/; revision=40065
This commit is contained in:
parent
ae440999df
commit
08c383c3de
1 changed files with 0 additions and 1 deletions
|
@ -850,7 +850,6 @@ NTSTATUS TCPGetSockAddress
|
|||
AddressIP->Address[0].AddressType = TDI_ADDRESS_TYPE_IP;
|
||||
AddressIP->Address[0].Address[0].sin_port = GetRemote ? RemotePort : LocalPort;
|
||||
AddressIP->Address[0].Address[0].in_addr = GetRemote ? RemoteAddress : LocalAddress;
|
||||
AddressIP->Address[1].AddressLength = TDI_ADDRESS_LENGTH_IP;
|
||||
|
||||
TcpipRecursiveMutexLeave( &TCPLock );
|
||||
|
||||
|
|
Loading…
Reference in a new issue