aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2014-09-27 07:23:39 -0300
committerAlexandre Oliva <aoliva@redhat.com>2014-11-21 03:39:37 -0200
commitb59d114bd1e0571fba85b3cbcc61d4f4b42f5d1b (patch)
tree3dedf50106432b626fda97235f2d26f6d745ddb5 /ChangeLog
parentf3d945d5f2b9d7d44032c461af588c6d54f5664b (diff)
downloadglibc-b59d114bd1e0571fba85b3cbcc61d4f4b42f5d1b.zip
glibc-b59d114bd1e0571fba85b3cbcc61d4f4b42f5d1b.tar.gz
glibc-b59d114bd1e0571fba85b3cbcc61d4f4b42f5d1b.tar.bz2
BZ#16469: 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 [BZ #16469] * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in search domain names.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 650d118..76fda28 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
2014-11-21 Alexandre Oliva <aoliva@redhat.com>
[BZ #16469]
+ * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
+ search domain names.
+
+2014-11-21 Alexandre Oliva <aoliva@redhat.com>
+
+ [BZ #16469]
* NEWS: Update.
* resolv/res_query.c (__libc_res_nquerydomain): Retain
trailing dot.