ws2_32: Reimplement WSAStringToAddress on top of ntdll functions.
commit3bb824f98891e8eb907c9c652fe528373a17b10d
authorAlex Henrie <alexhenrie24@gmail.com>
Mon, 18 May 2020 05:49:37 +0000 (17 23:49 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 18 May 2020 19:50:44 +0000 (18 21:50 +0200)
treed2789f6d0680ac075979abab8bb4a79d2243f8e4
parent2756b68559b22bcd1d40d0680ccfcd69922b30c7
ws2_32: Reimplement WSAStringToAddress on top of ntdll functions.

And add tests to show that the address is always zeroed out even if
there is an error, and that WSAStringToAddress has the same bug with
leading double colons as RtlIpv6StringToAddress.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ws2_32/socket.c
dlls/ws2_32/tests/sock.c