Bug #72218 [Opn->Csd]: If host name cannot be resolved then PHP 7 crashes
| From: | laruence@php.net | Date: | Mon, 16 May 2016 03:22:45 +0000 |
| Subject: | Bug #72218 [Opn->Csd]: If host name cannot be resolved then PHP 7 crashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-201116@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72218&edit=1
ID: 72218
Updated by: laruence@php.net
Reported by: esminis at esminis dot lt
Summary: If host name cannot be resolved then PHP 7 crashes
-Status: Open
+Status: Closed
Type: Bug
Package: Network related
PHP Version: 7.0.6
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=1559fd7e48837b8f91de15e912865baab57bcdb5
Log: Fixed bug #72218 (If host name cannot be resolved then PHP 7 crashes)
Previous Comments:
------------------------------------------------------------------------
[2016-05-15 16:17:04] esminis at esminis dot lt
Description:
------------
If host name cannot be resolved then PHP 7 crashes, the reason is in
main/network.c, missing "*" symbol, now it is:
error_string = strpprintf(0, "php_network_getaddresses: getaddrinfo failed (null result
pointer) errno=%d", errno);
but it should be:
*error_string = strpprintf(0, "php_network_getaddresses: getaddrinfo failed (null result
pointer) errno=%d", errno);
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72218&edit=1