glibc/nss
Florian Weimer a71a3374cd getaddrinfo: Fix error handling in gethosts [BZ #21915] [BZ #21922]
The old code uses errno as the primary indicator for success or
failure.  This is wrong because errno is only set for specific
combinations of the status return value and the h_errno variable.

(cherry picked from commit f4a6be2582)
2017-09-04 11:44:22 +02:00
..
nss_db Assume that O_CLOEXEC is always defined and works 2017-04-18 14:56:51 +02:00
nss_files Assume that O_CLOEXEC is always defined and works 2017-04-18 14:56:51 +02:00
alias-lookup.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
bug17079.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
bug-erange.c Update. 2002-09-29 18:25:48 +00:00
databases.def Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
db-Makefile Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Depend Update. 2000-01-02 04:20:21 +00:00
digits_dots.c resolv: Introduce struct resolv_context [BZ #21668] 2017-07-03 20:52:59 +02:00
ethers-lookup.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
function.def Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getent.c Update copyright dates not handled by scripts/update-copyrights. 2017-01-01 00:26:24 +00:00
getnssent_r.c resolv: Introduce struct resolv_context [BZ #21668] 2017-07-03 20:52:59 +02:00
getnssent.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getXXbyYY_r.c nss: Call __resolv_context_put before early return in get*_r [BZ #21932] 2017-08-10 09:10:36 +02:00
getXXbyYY.c resolv: Introduce struct resolv_context [BZ #21668] 2017-07-03 20:52:59 +02:00
getXXent_r.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getXXent.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
grp-lookup.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
hosts-lookup.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
key-lookup.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
makedb.c Update copyright dates not handled by scripts/update-copyrights. 2017-01-01 00:26:24 +00:00
Makefile getaddrinfo: Fix error handling in gethosts [BZ #21915] [BZ #21922] 2017-09-04 11:44:22 +02:00
netgrp-lookup.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
network-lookup.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
nss_test1.c Fix nss/nss_test1.c compile with latest GCC. 2017-07-21 09:56:13 -07:00
nss_test2.c Extend NSS test suite 2017-07-17 15:52:44 -04:00
nss_test.h Extend NSS test suite 2017-07-17 15:52:44 -04:00
nss_test.ver Extend NSS test suite 2017-07-17 15:52:44 -04:00
nss.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
nsswitch.c Fix build with --enable-static-nss [BZ #21088] 2017-03-15 13:32:23 -07:00
nsswitch.conf More configurability for secondary group lookup 2011-05-10 00:36:29 -04:00
nsswitch.h resolv: Introduce struct resolv_context [BZ #21668] 2017-07-03 20:52:59 +02:00
proto-lookup.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
pwd-lookup.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
rewrite_field.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
rpc-lookup.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
service-lookup.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sgrp-lookup.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
spwd-lookup.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
test-digits-dots.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
test-netdb.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-cancel-getpwuid_r.c Miscellaneous low-risk changes preparing for _ISOMAC testsuite. 2017-03-01 20:32:50 -05:00
tst-field.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-nss-files-hosts-erange.c getaddrinfo: Fix error handling in gethosts [BZ #21915] [BZ #21922] 2017-09-04 11:44:22 +02:00
tst-nss-getpwent.c Increase some test timeouts. 2017-01-05 17:39:38 +00:00
tst-nss-static.c 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com> 2012-04-06 13:49:35 -07:00
tst-nss-test1.c Extend NSS test suite 2017-07-17 15:52:44 -04:00
tst-nss-test2.c Extend NSS test suite 2017-07-17 15:52:44 -04:00
tst-nss-test3.c Extend NSS test suite 2017-07-17 15:52:44 -04:00
tst-nss-test4.c Extend NSS test suite 2017-07-17 15:52:44 -04:00
tst-nss-test5.c Correct nss/tst-nss-test5 configuration 2017-07-21 19:50:21 -04:00
valid_field.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
valid_list_field.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Versions Get canonical name in getaddrinfo from hosts file for AF_INET (fixes 16077) 2013-11-28 17:18:12 +05:30
XXX-lookup.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00