diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-07-04 14:47:29 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-07-04 15:26:05 +0200 |
commit | 4446a885f3aeb3a33b95c72bae1f115bed77f0cb (patch) | |
tree | cb00db2c2f0dddc2898640dd46331876e72b6171 /ChangeLog | |
parent | f0107724c92eefbc0637e2a7e142adf57e87e30b (diff) | |
download | glibc-4446a885f3aeb3a33b95c72bae1f115bed77f0cb.zip glibc-4446a885f3aeb3a33b95c72bae1f115bed77f0cb.tar.gz glibc-4446a885f3aeb3a33b95c72bae1f115bed77f0cb.tar.bz2 |
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-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |