ws2_32: Return WSAEFAULT instead of WSAEINVAL from WSAStartup() if "data" is NULL.
commita6cbdb7de82387e1a75bfdb77fa66310a322e6c8
authorZebediah Figura <zfigura@codeweavers.com>
Tue, 1 Feb 2022 06:20:51 +0000 (1 00:20 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 1 Feb 2022 17:23:18 +0000 (1 18:23 +0100)
treea4c1fa71bc979d538aec3cafc6a5b8f911852122
parent5efc6369ebf5d1e262ac68dbcac546a11bded6ca
ws2_32: Return WSAEFAULT instead of WSAEINVAL from WSAStartup() if "data" is NULL.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ws2_32/socket.c
dlls/ws2_32/tests/protocol.c