php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67858 Leak when $php_errormsg already set
Submitted: 2014-08-18 16:10 UTC Modified: -
From: nikic@php.net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: master-Git-2014-08-18 (Git) OS:
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: nikic@php.net
New email:
PHP Version: OS:

 

 [2014-08-18 16:10 UTC] nikic@php.net
Description:
------------
<?php ini_set('track_errors', 1); error_reporting(E_ALL);

function f() {
    $php_errormsg = [1, 2, 3];
    echo $var;
    var_dump($php_errormsg);
}
f();

Leaks the array


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-08-18 16:14 UTC] nikic@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=26a9dc3e04813a76bf59ffb5bf9df47f6034008b
Log: Fix bug #67858: Leak when $php_errormsg already set
 [2014-08-18 16:14 UTC] nikic@php.net
-Status: Open +Status: Closed
 [2016-07-20 11:40 UTC] davey@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=26a9dc3e04813a76bf59ffb5bf9df47f6034008b
Log: Fix bug #67858: Leak when $php_errormsg already set
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 07:01:33 2025 UTC