wine/dlls/ws2_32
Zhiyi Zhang d5bfa87908 ntdll: Don't zero out socket address in sockaddr_from_unix().
tallygatewayserver.exe specifies a from sockaddr pointing to a heap buffer smaller than 128 bytes
yet it passes 128 as the fromlen to recvfrom(). So the memset(wsaddr, 0, wsaddrlen) call in
sockaddr_from_unix() ends up trashing other data in the heap, causing the application to crash.
Although this is an application bug, tests on Windows also showed that the socket address buffer
should be written only with the necessary socket address data, thus preventing the crash.
2024-06-13 10:56:00 +02:00
..
tests ntdll: Don't zero out socket address in sockaddr_from_unix(). 2024-06-13 10:56:00 +02:00
async.c
hosts
inaddr.c
Makefile.in makefiles: Always use the global SOURCES variable for .rc files. 2023-11-01 22:43:56 +01:00
networks
protocol
protocol.c
services
socket.c ws2_32: Implement TCP_KEEP{ALIVE,CNT,INTVL} options. 2024-03-04 22:39:57 +01:00
unixlib.c ws2_32: Check for AI_ALL at compile time. 2023-11-27 22:39:51 +01:00
version.rc
ws2_32.spec
ws2_32_private.h ws2_32: Remove DECLSPEC_HIDDEN usage. 2023-11-24 14:04:53 +01:00