php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #68679 Better dns free'ing
Submitted: 2014-12-29 03:10 UTC Modified: 2015-01-09 07:49 UTC
From: bugreports at internot dot info Assigned: krakjoe (profile)
Status: Closed Package: Network related
PHP Version: master-Git-2014-12-29 (Git) OS: Linux Ubuntu 14.04
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bugreports at internot dot info
New email:
PHP Version: OS:

 

 [2014-12-29 03:10 UTC] 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,


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-12-30 03:00 UTC] aharvey@php.net
-Package: *General Issues +Package: Network related
 [2015-01-09 07:49 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2015-01-09 07:49 UTC] krakjoe@php.net
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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jun 28 09:01:32 2025 UTC