[Bug 198092] getaddrinfo(3) fails with "Invalid value for ai_flags" (error code 3) if hint.ai_flags contains AI_V4MAPPED

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 20 18:36:19 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198092

John Baldwin <jhb at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jhb at FreeBSD.org

--- Comment #4 from John Baldwin <jhb at FreeBSD.org> ---
If we don't support it, should we remove the flags from netdb.h so that
software fails to compile (instead of generating a runtime error)?

RFC 3493 requires these flags (by my reading), so we are non-conforming and
should not list it in STANDARDS unless we also include a caveat for the parts
we don't implement (and arguably we should fix our implementation to be
conforming instead).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list