summaryrefslogtreecommitdiff
path: root/benchtests/bench-skeleton.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-01-21 09:26:41 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-02-04 15:28:13 +0100
commitc3419ac61555cefb3c0762c17c1cf66d31bc0940 (patch)
tree3ecf679980297f443d4dbb79807423eb3853d37b /benchtests/bench-skeleton.c
parent467741b2b7c1f464ae320b797552f3dce8dd18f8 (diff)
downloadglibc-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