ws2_32: Deal with getaddrinfo() returning NULL ai_canonname despite AI_CANONNAME.
commit47d50bbbc23aeb10adf9f44215784c3f6c204b28
authorDamjan Jovanovic <damjan.jov@gmail.com>
Sun, 27 Dec 2020 09:39:18 +0000 (27 11:39 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 28 Dec 2020 11:27:10 +0000 (28 12:27 +0100)
tree309a68f96074e14650f80a31bd981b440e5c785d
parent41dfe7cc67ac65c9c5c365be6bf237f563639ca9
ws2_32: Deal with getaddrinfo() returning NULL ai_canonname despite AI_CANONNAME.

This fixes a wineboot crash on FreeBSD, where getaddrinfo() returns a NULL
ai_canonname, causing wineboot to pass NULL to strchr().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50408
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ws2_32/socket.c