[PATCH] nss_dns: More consistency in corrupt message handling in getnetby*

Florian Weimer fweimer@redhat.com
Mon Mar 11 21:52:00 GMT 2019


* 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



More information about the Libc-alpha mailing list