mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-30 12:25:49 +00:00
FreeBSD 11.4 getsockaddr sets sa_len to the length argument, and tcp_usr_bind, tcp_usr_connect, in_pcbbind_setup, in_pcbconnect_setup, in6_pcbbind and in6_pcbladdr answer EINVAL when it is not the size of the socket family's address. udp6_bind and udp6_connect pass an IPv4-mapped address to the IPv4 code without that check when IPV6_V6ONLY is clear, and udp6_send always checks it. bind and connect on AF_INET and AF_INET6 sockets, and sendto on AF_INET6 datagram sockets, now fail a longer address with EINVAL.