about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-07-04 14:47:29 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-07-04 15:26:05 +0200
commit4446a885f3aeb3a33b95c72bae1f115bed77f0cb (patch)
treecb00db2c2f0dddc2898640dd46331876e72b6171 /ChangeLog
parentf0107724c92eefbc0637e2a7e142adf57e87e30b (diff)
downloadglibc-4446a885f3aeb3a33b95c72bae1f115bed77f0cb.tar.gz
glibc-4446a885f3aeb3a33b95c72bae1f115bed77f0cb.tar.xz
glibc-4446a885f3aeb3a33b95c72bae1f115bed77f0cb.zip
resolv: Fix resolv_conf _res matching
A dot-less host name without an /etc/resolv.conf file caused an
assertion failure in update_from_conf because the function would not
deal correctly with the empty search list case.

Thanks to Andreas Schwab for debugging assistence.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b7c0e9e63b..e8af883b12 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2017-07-04  Florian Weimer  <fweimer@redhat.com>
+
+	* resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
+	server and sort list counts.  Fix improper check for empty search
+	path (completely missing domain name) leading to assertion failure
+	in update_from_conf.
+	* resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
+	hostname member.
+	(run_res_init): Set host name if requested.
+	(test_cases): Update.
+
 2017-07-04  Joseph Myers  <joseph@codesourcery.com>
 
 	* scripts/build-many-glibcs.py (Context.checkout): Default