1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00
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
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_private.h ws2_32: Remove DECLSPEC_HIDDEN usage. 2023-11-24 14:04:53 +01:00
ws2_32.spec