This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]