[Bug 20368] sockaddr_in6 wrong size; causes chromium's net_unittests HostResolverImplTest.NumericIPv6Address test case to fail

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Oct 16 18:48:43 CDT 2009


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


Juan Lang <juan_lang at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #24175|0                           |1
        is obsolete|                            |




--- Comment #10 from Juan Lang <juan_lang at yahoo.com>  2009-10-16 18:48:43 ---
Created an attachment (id=24176)
 --> (http://bugs.winehq.org/attachment.cgi?id=24176)
Another compiled version (release build)

Oops, the last one was a debug build, which wouldn't run on Wine.  The attached
release build does, providing you run 'winetricks vcrun2008' first.  This one
produces the following output for me under Wine:

sizeof(struct sockaddr_in6) = 28
ai_addrlen = 24

I finally understand the issue:  sizeof(struct sockaddr_in6) is 28, that is, it
includes the scope_id, yet getaddrinfo is returning an address of size 24, even
though sizeof(struct sockaddr_in6) is 28 on my Linux system too.

This bug is valid, pardon my noise from earlier.

-- 
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