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: More consistency in corrupt message handling in getnetby*


* 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


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