NSS error reporting (bug 20532)
Florian Weimer
fweimer@redhat.com
Thu Aug 3 17:17:00 GMT 2017
On 08/03/2017 06:48 PM, Andreas Schwab wrote:
> On Aug 03 2017, Florian Weimer <fweimer@redhat.com> wrote:
>
>> [6] empty results (while otherwise reporting success)
>
> Where are empty results a success?
The gethostbyname4_r family of functions could return an empty list with
NSS_STATUS_SUCCESS. The point I was trying to make is that the types do
not rule this out.
The other NSS service functions do not receive a pointer-to-pointer
argument (unlike the external glibc NSS functions), so the case that
pointer == NULL and NSS_STATUS_SUCCESS cannot happen.
Does this answer your question?
Thanks,
Florian
More information about the Libc-alpha
mailing list