[Bug 29756] New: ws2_32: getaddrinfo edge cases broken on OS X

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jan 31 17:58:38 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=29756

             Bug #: 29756
           Summary: ws2_32: getaddrinfo edge cases broken on OS X
           Product: Wine
           Version: unspecified
          Platform: x86
        OS/Version: Mac OS X
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: winsock
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: code at klickverbot.at
    Classification: Unclassified


getaddrinfo() responds differently to edge cases on Windows, Linux and OS X;
notably, the Winsock incarnation accepts more combinations of null/empty
host/port strings than the others do. Some steps to resolve the issues this
creates for Wine clients have been made in commits 75be2284 and 8e5d5bf5.

Unfortunately, the current implementation (1.4-rc1, Git f0cfa7cf) does not work
on OS X, because the host part of the FQDN of the local machine usually doesn't
resolve. The attached patch fixes this issue and another difference in behavior
between Winsock/Windows and Wine/OSX.

While tracking this down, I compared a number of param/flag combinations; the
detailed results are at
http://klickverbot.at/blog/2012/01/getaddrinfo-edge-case-behavior-on-windows-linux-and-osx/.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list