This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] nss_dns: Do not call res_dnok in getnetby* implementation
- 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 15:35:58 -0400
- Subject: Re: [PATCH] nss_dns: Do not call res_dnok in getnetby* implementation
Florian Weimer <fweimer@redhat.com> writes:
> 2019-03-08 Florian Weimer <fweimer@redhat.com>
>
> * resolv/nss_dns/dns-network.c (getanswer_r): Do not call
> res_dnok.
I checked and it does seem that *bp only comes from ns_name_ntop, so as
long as the assumption that ns_name_ntop always produces a valid name is
valid, this patch looks OK to me.