This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/16469] getaddrinfo incorrectly accepts two trailing dots
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 07 Nov 2014 09:20:29 +0000
- Subject: [Bug network/16469] getaddrinfo incorrectly accepts two trailing dots
- Auto-submitted: auto-generated
- References: <bug-16469-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16469
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, lxoliva/getaddrinfo has been created
at d4139de660d1f25ad34ab023b13ec3cad78986d2 (commit)
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d4139de660d1f25ad34ab023b13ec3cad78986d2
commit d4139de660d1f25ad34ab023b13ec3cad78986d2
Author: Alexandre Oliva <aoliva@redhat.com>
Date: Sun Jun 1 16:51:57 2014 -0300
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=91bbe1798129768e77cffecf324400fa4d31ad10
commit 91bbe1798129768e77cffecf324400fa4d31ad10
Author: Alexandre Oliva <aoliva@redhat.com>
Date: Sun Jun 1 16:51:44 2014 -0300
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bc3ac8b1779e8b180762841048601b90f469d6e5
commit bc3ac8b1779e8b180762841048601b90f469d6e5
Author: Alexandre Oliva <aoliva@redhat.com>
Date: Sun Jun 1 16:48:15 2014 -0300
for ChangeLog
PR network/9981
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Do not sort
AI_PASSIVE addresses.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7875573cbe52eabe78f1cab91c8a046d0bd5ed5a
commit 7875573cbe52eabe78f1cab91c8a046d0bd5ed5a
Author: Alexandre Oliva <aoliva@redhat.com>
Date: Sat Sep 27 07:13:20 2014 -0300
drop address family conversions from /etc/hosts parser
for ChangeLog
* nss/nss_files/files-hosts.c (LINE_PARSER): Drop all address
family conversions.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=393207b6a74aeed6227d88174b8b37e4ee095260
commit 393207b6a74aeed6227d88174b8b37e4ee095260
Author: Alexandre Oliva <aoliva@redhat.com>
Date: Sat Sep 27 07:13:20 2014 -0300
drop v4-to-v6 conversions of loopback addresses from /etc/hosts
for ChangeLog
* nss/nss_files/files-hosts.c (LINE_PARSER): Drop family
conversion of loopback addresses from IPv4 to IPv6.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2e8a3341f470d8fa0dce69b8cf83e346a0017ada
commit 2e8a3341f470d8fa0dce69b8cf83e346a0017ada
Author: Alexandre Oliva <aoliva@redhat.com>
Date: Sat Sep 27 07:13:18 2014 -0300
drop v6-to-v4 conversions of loopback addresses from /etc/hosts
for ChangeLog
* nss/nss_files/files-hosts.c (LINE_PARSER): Drop family
conversion of loopback addresses from IPv6 to IPv4.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=901aad32edcbd1cfd57ee904ada6dcc56a53b385
commit 901aad32edcbd1cfd57ee904ada6dcc56a53b385
Author: Alexandre Oliva <aoliva@redhat.com>
Date: Sat Sep 27 07:23:39 2014 -0300
resolv: skip leading dot in domain to search
This should only happen if the domain to search is the root,
represented as . rather than by an empty string. Skipping it here
prevents libc_res_nquerydomain from duplicating the trailing dot,
which would cause the domain name compression to fail.
for ChangeLog
PR 16469
* resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
search domain names.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ba878d017e6b65f5d2880ac8262bc68224ee3a53
commit ba878d017e6b65f5d2880ac8262bc68224ee3a53
Author: Alexandre Oliva <aoliva@redhat.com>
Date: Wed Oct 15 03:52:43 2014 -0300
don't drop trailing dot in res_nquerydomain(..., name, NULL, ...)
If we drop it here, we will fail to detect a duplicate trailing dot
later on. Retaining, OTOH, has no ill effects whatsoever, and it even
saves us the trouble of copying the domain name minus the trailing
dot, like we used to do.
for ChangeLog
PR 16469
* resolv/res_query.c (__libc_res_nquerydomain): Retain
trailing dot.
* NEWS: Fixes 16469.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ff9a1b7dce77c43235e11cda103698078cf44a45
commit ff9a1b7dce77c43235e11cda103698078cf44a45
Author: Alexandre Oliva <aoliva@redhat.com>
Date: Mon Nov 3 18:51:40 2014 -0200
Do not continue in nss_db_getservbyname
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6286965b02069369beeb893833c34f01dc919ffb
commit 6286965b02069369beeb893833c34f01dc919ffb
Author: Alexandre Oliva <aoliva@redhat.com>
Date: Mon Nov 3 18:51:40 2014 -0200
create all sockets with SOCK_CLOEXEC
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c83b8a87170cda275a5c591fe2a1d3657d2a6711
commit c83b8a87170cda275a5c591fe2a1d3657d2a6711
Author: Alexandre Oliva <aoliva@redhat.com>
Date: Mon Nov 3 18:51:39 2014 -0200
introduce internal function to ease poll retry with timeout
-----------------------------------------------------------------------
--
You are receiving this mail because:
You are on the CC list for the bug.