[Bug 12837] Stack trace in socket.c when starting Call of Duty multiplayer
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Apr 27 16:38:39 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=12837
Kai Blin <kai.blin at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #5 from Kai Blin <kai.blin at gmail.com> 2008-04-27 16:38:38 ---
> This is the code around 3247:
>
> if (retval->h_addr_list == 127 &&
> strcmp(name, "localhost") != 0)
> {
> /* hostname != "localhost" but has loopback address. replace by our
> * special address.*/
> memcpy(retval->h_addr_list[0], magic_loopback_addr, 4);
> }
That's not what the code looks like upstream. Check
http://source.winehq.org/git/wine.git/?a=blob;f=dlls/ws2_32/socket.c;h=1fe0034aaf52edac4ef0008517404d35f63cd81a;hb=HEAD
or manually fix the line to be
if (retval->h_addr_list[0][0] == 127 &&
However, if that line is corrupted, others probably are broken as well.
--
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