[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
Thu Oct 15 11:41:49 CDT 2009


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





--- Comment #2 from Juan Lang <juan_lang at yahoo.com>  2009-10-15 11:41:49 ---
(In reply to comment #0)
> [11:71:1014/112257:84976129:FATAL:address_list.cc(76)] Check failed:
> sizeof(sockaddr_in6) == info->ai_addrlen (28 vs. 24)

It's not clear from this which one it is expected to be, 24 or 28.  24 is
possible for struct sockaddr_in6 on Windows if it's compiled a certain way with
MS headers, I believe, as this is the size of struct sockaddr_in6_old (see
ws2ipdef.h).  24 is also a possible size for struct sockaddr_in6 on *ix, see in
configure.ac:
dnl Check for sin6_scope_id
AC_CHECK_MEMBERS([struct sockaddr_in6.sin6_scope_id],,,

It's a bug in either case, but I'm curious where it lies.  Could you look at
config.log to see whether your struct sockaddr_in6 has a sin6_scope_id?

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