https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189268
Benjamin Kaduk <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #8 from Benjamin Kaduk <[email protected]> --- 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. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "[email protected]"
