CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/06/26 23:26:37
Modified files:
lib/libc/asr : gethostnamadr_async.c
Log message:
If we don't receive a reply packet the res_send subquery will already have
set subq_h_errno and ar_count. Remove the ar_datalen == -1 check, so we
set ar_h_errno and don't have to (wrongly) guess that
ar_h_errno = HOST_NOT_FOUND.
This makes sure that if no nameserver responds the h_errno value is set to
TRY_AGAIN instead of HOST_NOT_FOUND.
OK eric@, deraadt@