[PATCH] nss_dns: Adjust ns_name_ntop calls for gethostby*, getaddrinfo

DJ Delorie dj@redhat.com
Tue Mar 12 02:28:00 GMT 2019


Florian Weimer <fweimer@redhat.com> writes:

> ns_name_ntop failure always means that the output buffer is not
> large enough.
>
> 2019-03-08  Florian Weimer  <fweimer@redhat.com>
>
> 	* resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
> 	On ns_name_ntop failure, the buffer is always too small.

LGTM



More information about the Libc-alpha mailing list