[php-src] Issue #7748: gethostbyaddr outputs binary string
| From: | noreply@php.net | Date: | Fri, 10 Dec 2021 15:22:12 +0000 |
| Subject: | [php-src] Issue #7748: gethostbyaddr outputs binary string | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238315@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7748
Comment Author: damianwadley
First thing I see is in [the new usage of
getnameinfo](https://github.com/php/php-src/commit/99d67d121acd4c324738509679d23acaf759d065): the
code checks <0 for error but MSDN and getnameinfo(3) lists it as merely returning non-zero.