wine/dlls/ws2_32
Jinoh Kang 876742bf2b ws2_32/test: Fix sockaddr buffer overflow in test_reuseaddr.
Today, test_reuseaddr() triggers a buffer overflow when accept()-ing an
IPv6 client due to the supplied peer name buffer (`struct sockaddr`)
being too small to hold an AF_INET6 address (`struct sockaddr_in6`).

Fix this by changing the type of `saddr` from `struct sockaddr` to
`struct sockaddr_storage`.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54376
2023-01-25 19:49:40 +01:00
..
tests ws2_32/test: Fix sockaddr buffer overflow in test_reuseaddr. 2023-01-25 19:49:40 +01:00
async.c
hosts
inaddr.c ws2_32: Add in[46]addr_* constants to import library. 2022-11-14 13:13:02 +01:00
Makefile.in include: Use proper dllimports for winsock functions. 2022-12-07 14:25:18 +01:00
networks
protocol
protocol.c ws2_32: Use the Unix call helpers. 2022-11-25 10:19:43 +01:00
services
socket.c ws2_32: Use the Unix call helpers. 2022-11-25 10:19:43 +01:00
unixlib.c
version.rc
ws2_32.spec
ws2_32_private.h ws2_32: Use the Unix call helpers. 2022-11-25 10:19:43 +01:00