aboutsummaryrefslogtreecommitdiff
path: root/htl
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-01-21 09:26:41 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-01-21 09:26:41 +0100
commit6ca53a2453598804a2559a548a08424fca96434a (patch)
treeaba412e2b8e57adede251922d098e7f62f388fdb /htl
parent5e30b8ef0758763effa115634e0ed7d8938e4bc0 (diff)
downloadglibc-6ca53a2453598804a2559a548a08424fca96434a.zip
glibc-6ca53a2453598804a2559a548a08424fca96434a.tar.gz
glibc-6ca53a2453598804a2559a548a08424fca96434a.tar.bz2
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.
Diffstat (limited to 'htl')
0 files changed, 0 insertions, 0 deletions