[PATCH] Linux gethostid: Check for NULL value from gethostbyname_r [BZ #23679]

Florian Weimer fweimer@redhat.com
Thu Sep 20 10:02:00 GMT 2018


* Mingli Yu:

> On 2018年09月20日 04:51, Florian Weimer wrote:
>> Compared to the version posted on Bugzilla, I added a check on ret.  If
>> ret == 0 and hp == NULL, herr and errno are not necessarily valid.
>>
>> Okay for master?
>
> Thanks Florian for your respond! I'm fine with your update for the
> patch.

Thanks, I will check it in.

Florian



More information about the Libc-alpha mailing list