The same patch has been submitted upstream, see libc-alpha@ and BZ#21295.
However it is not likely to be accepted because newer libc versions use a 
different interface (gethostbyname4_r) in libnss_dns module which activates a 
different libc codepath avoiding the issue by requesting IPv4 and IPv6 entries 
in parallel.

** Patch added: "getaddrinfo: do not overwrite IPv6 IPs with IPv4 when using  
AF_UNSPEC"
   
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1674776/+attachment/4843357/+files/0001-getaddrinfo-do-not-overwrite-IPv6-IPs-with-IPv4-when.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1674776

Title:
  getaddrinfo() dont work correct with ipv4+ipv6 addreses aftrer upgrade
  libc6 in Ubuntu Precise

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1674776/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to