This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] nss_dns: More consistency in corrupt message handling in getnetby*
- From: Florian Weimer <fweimer at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 11 Mar 2019 22:52:01 +0100
- Subject: Re: [PATCH] nss_dns: More consistency in corrupt message handling in getnetby*
- References: <xnr2bd5c3f.fsf@greed.delorie.com>
* DJ Delorie:
> Florian Weimer <fweimer@redhat.com> writes:
>> If a parse error is encountered, fail with NO_RECOVERY and
>> NSS_STATUS_UNAVAIL.
>>
>> 2019-03-08 Florian Weimer <fweimer@redhat.com>
>>
>> * resolv/nss_dns/dns-network.c (getanswer_r): Handle unparseable
>> messages more consistently.
>
> LGTM but depends on the errno question from the previous (dependency)
> patch.
Setting errno to any value is fine as long it's not 0 or ERANGE. 8-)
Thanks,
Florian