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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 05:01:29 2024 UTC