Req #68679 [Opn->Csd]: Better dns free'ing
| From: | krakjoe@php.net | Date: | Fri, 09 Jan 2015 07:49:50 +0000 |
| Subject: | Req #68679 [Opn->Csd]: Better dns free'ing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-189826@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68679&edit=1
ID: 68679
Updated by: krakjoe@php.net
Reported by: bugreports at internot dot info
Summary: Better dns free'ing
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: Network related
Operating System: Linux Ubuntu 14.04
PHP Version: master-Git-2014-12-29 (Git)
-Assigned To:
+Assigned To: krakjoe
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Fixed http://git.php.net/?p=php-src.git;a=commit;h=159c33184407fbf1eaa060ddc88664a3d4b7c9ea
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2014-12-29 03:10:31] bugreports at internot dot info
Description:
------------
Hi,
In /ext/standard/dns.c:
326 static void _php_dns_free_res(struct __res_state res)
'res' should be passed as a reference, for performance purposes. res of type
struct__res_state is size 568 bytes.
Thanks,
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68679&edit=1