This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[2.19]: please backport 8dc9751: Fix parsing of getai result from nscd for IPv6-only request
- From: Samuel Thibault <samuel dot thibault at gnu dot org>
- To: libc-alpha at sourceware dot org, allan at archlinux dot org
- Date: Fri, 2 Oct 2015 09:47:01 +0200
- Subject: [2.19]: please backport 8dc9751: Fix parsing of getai result from nscd for IPv6-only request
- Authentication-results: sourceware.org; auth=none
Hello,
In its 2.19-20 version, Debian has upgraded to the 2.19 release branch,
thus including commit a071766 (Fix use of half-initialized result in
getaddrinfo when using nscd (bug 16743)). That has however made our
systems at the university get bogus ipv6-only results:
without nscd:
$ ping6 -n kamino
PING kamino(2001:db8:210::20) 56 data bytes
64 bytes from 2001:660:210::20: icmp_seq=1 ttl=64 time=0.303 ms
with nscd:
$ ping6 -n kamino
PING kamino(a00:d214:2001:db8:210::) 56 data bytes
(0x0a.0x00.0xd2.0x14 happens to be the IPv4 of kamino)
This gets fixed with the commit right after a071766 on the same file:
8dc9751 (Fix parsing of getai result from nscd for IPv6-only request).
The change really makes sense, and I believe it should be backported to
the 2.19 branch.
I have pushed a cherry-pick commit to the sthibault/release/2.19 branch.
Allan, could you pull it?
Thanks,
Samuel