diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-01-21 09:26:41 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-02-04 21:35:01 +0100 |
commit | 37edf1d3f8ab9adefb61cc466ac52b53114fbd5b (patch) | |
tree | 3df816e02e3105c63cd02800d6fbf2a334f27878 /sysdeps/unix/sysv/linux/sparc | |
parent | 8e92ca5dd7a7e38a4dddf1ebc4e1e8f0cb27e4aa (diff) | |
download | glibc-37edf1d3f8ab9adefb61cc466ac52b53114fbd5b.tar glibc-37edf1d3f8ab9adefb61cc466ac52b53114fbd5b.tar.gz glibc-37edf1d3f8ab9adefb61cc466ac52b53114fbd5b.tar.bz2 glibc-37edf1d3f8ab9adefb61cc466ac52b53114fbd5b.zip |
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 'sysdeps/unix/sysv/linux/sparc')
0 files changed, 0 insertions, 0 deletions