Bug #75884 [Asn->Csd]: efree() used instead of zend_string_free() in socket_recvfrom
| From: | tpunt@php.net | Date: | Mon, 29 Jan 2018 11:43:30 +0000 |
| Subject: | Bug #75884 [Asn->Csd]: efree() used instead of zend_string_free() in socket_recvfrom | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-213735@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75884&edit=1
ID: 75884
Updated by: tpunt@php.net
Reported by: dktapps at pmmp dot io
Summary: efree() used instead of zend_string_free() in
socket_recvfrom
-Status: Assigned
+Status: Closed
Type: Bug
Package: Sockets related
Operating System: *
PHP Version: 7.2.1
Assigned To: tpunt
Block user comment: N
Private report: N
New Comment:
Fixed in commit fb128f6512dce083b35a26121a1d685caba16f2e, thanks.
Previous Comments:
------------------------------------------------------------------------
[2018-01-29 09:37:10] dktapps at pmmp dot io
Description:
------------
efree() is incorrectly used on https://github.com/php/php-src/blob/master/ext/sockets/sockets.c#L1815
. Similar code uses zend_string_free().
This looks like a leftover from PHP 5.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75884&edit=1