[Bug 1541] New: WS2_32 version of gethostbyname with NULL argument doesn't follow specification

Wine Bugs wine-bugs at winehq.com
Tue Jun 24 05:28:11 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1541

           Summary: WS2_32 version of gethostbyname with NULL argument
                    doesn't follow specification
           Product: Wine
           Version: 20030508
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-net
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: rzoli at yahoo.com


According to Microsoft definition, a call to gethostbyname with a NULL argument
should produce a well-defined behaviour, namely return information about the
local host. A look at dlls/winsock/socket.c shows that the current
implementation does not do this.
I have encountered at least one program that tries to call gethostbyname with a
NULL argument and by doing so successfully crashes itself and/or wine.

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list