diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-06-19 14:05:49 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-06-19 14:24:24 +0200 |
commit | ea4924ce5bccfccc4e8a492faa96933131abd9ef (patch) | |
tree | aede7806f62e30d2a4a01121d436e501c2b93fdd /ChangeLog | |
parent | 4c4480eecb2e00764dd3bf79d68ea4e1d747d78c (diff) | |
download | glibc-ea4924ce5bccfccc4e8a492faa96933131abd9ef.zip glibc-ea4924ce5bccfccc4e8a492faa96933131abd9ef.tar.gz glibc-ea4924ce5bccfccc4e8a492faa96933131abd9ef.tar.bz2 |
resolv: Report allocation errors in __res_vinit
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,5 +1,17 @@ 2017-06-19 Florian Weimer <fweimer@redhat.com> + * resolv/res_init.c (res_vinit_1): New function. + (__res_vinit): Call it. Handle file open and memory allocation + failures. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate + erno from __res_maybe_init failure. + (_nss_dns_gethostbyname4_r): Likewise. + (_nss_dns_gethostbyaddr2_r): Likewise. + * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise. + (_nss_dns_getnetbyaddr_r): Likewise. + +2017-06-19 Florian Weimer <fweimer@redhat.com> + * resolv/res_init.c: Reformat to GNU style. 2017-06-19 Florian Weimer <fweimer@redhat.com> |