diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-01-21 09:26:41 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-02-04 15:28:13 +0100 |
commit | c3419ac61555cefb3c0762c17c1cf66d31bc0940 (patch) | |
tree | 3ecf679980297f443d4dbb79807423eb3853d37b /benchtests/bench-skeleton.c | |
parent | 467741b2b7c1f464ae320b797552f3dce8dd18f8 (diff) | |
download | glibc-c3419ac61555cefb3c0762c17c1cf66d31bc0940.tar.gz |
resolv: Do not send queries for non-host-names in nss_dns [BZ #24112]
Before this commit, nss_dns would send a query which did not contain a
host name as the query name (such as invalid\032name.example.com) and
then reject the answer in getanswer_r and gaih_getanswer_slice, using
a check based on res_hnok. With this commit, no query is sent, and a
host-not-found error is returned to NSS without network interaction.
(cherry picked from commit 6ca53a2453598804a2559a548a08424fca96434a)
Diffstat (limited to 'benchtests/bench-skeleton.c')
0 files changed, 0 insertions, 0 deletions