This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] nss_dns: Adjust ns_name_ntop calls for gethostby*, getaddrinfo
- From: DJ Delorie <dj at redhat dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 11 Mar 2019 22:28:08 -0400
- Subject: Re: [PATCH] nss_dns: Adjust ns_name_ntop calls for gethostby*, getaddrinfo
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