1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-01 07:14:31 +00:00
wine/dlls/ws2_32/tests
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
..
afd.c ws2_32/tests: Wait for AFD_POLL_RESET in test_get_events_reset(). 2023-10-27 08:59:30 -05:00
Makefile.in makefiles: Always use the global SOURCES variable for .c files. 2023-11-01 22:44:03 +01:00
protocol.c ws2_32/tests: Fix a couple of failures on Windows. 2024-03-12 20:49:21 +01:00
sock.c ntdll: Don't zero out socket address in sockaddr_from_unix(). 2024-06-13 10:56:00 +02:00