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

Benjamin Kaduk <b...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b...@freebsd.org

--- Comment #8 from Benjamin Kaduk <b...@freebsd.org> ---
I do not see why it is believed to be correct behavior to blindly cast
addrinfo->ai_addr to type 'struct sockaddr_in *' without first checking that
addrinfo->ai_family is PF_INET (or that the sockaddr's sa_family is AFS_INET);
such a cast is expected to yield "nonsense" results when ai_family is PF_INET6.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-doc@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "freebsd-doc-unsubscr...@freebsd.org"

Reply via email to