Bug #67858 [Opn->Csd]: Leak when $php_errormsg already set

From: Date: Mon, 18 Aug 2014 16:14:39 +0000
Subject: Bug #67858 [Opn->Csd]: Leak when $php_errormsg already set
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187167@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67858&edit=1 ID: 67858 Updated by: nikic@php.net Reported by: nikic@php.net Summary: Leak when $php_errormsg already set -Status: Open +Status: Closed Type: Bug Package: Scripting Engine problem PHP Version: master-Git-2014-08-18 (Git) Block user comment: N Private report: N New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2014-08-18 16:10:14] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67858&edit=1

« previous php.bugs (#187167) next »