mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:07:34 +00:00
Kernel: Stop modifying peer address/port in sendto on a TCP socket
POSIX (rightfully so) specifies that the sendto address argument is ignored in connection-oriented protocols. The TCPSocket also assumed the peer address may not change post-connect and would trigger a UAF in sockets_by_tuple() when it did.
This commit is contained in:
parent
8bb423daf7
commit
da2f33df82
3 changed files with 87 additions and 2 deletions
|
@ -56,6 +56,7 @@ set(LIBTEST_BASED_SOURCES
|
|||
TestSigAltStack.cpp
|
||||
TestSigHandler.cpp
|
||||
TestSigWait.cpp
|
||||
TestTCPSocket.cpp
|
||||
)
|
||||
|
||||
if (NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue