Bug #62210 [ReO->Csd]: Exceptions can leak temporary variables
| From: | dmitry@php.net | Date: | Fri, 13 Nov 2015 12:38:46 +0000 |
| Subject: | Bug #62210 [ReO->Csd]: Exceptions can leak temporary variables | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-197231@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62210&edit=1
ID: 62210
Updated by: dmitry@php.net
Reported by: nikic@php.net
Summary: Exceptions can leak temporary variables
-Status: Re-Opened
+Status: Closed
Type: Bug
Package: Scripting Engine problem
PHP Version: Irrelevant
Assigned To: dmitry
Block user comment: N
Private report: N
New Comment:
Fixed in master (for 7.1) by http://git.php.net/?p=php-src.git;a=commitdiff;h=3a5fa926bfc409963f500144ea6d5e890e712a86
Previous Comments:
------------------------------------------------------------------------
[2015-07-10 10:31:47] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ad8a73dd55c087de465ad80e8715611693bb1460
Log: Revert "Fixed bug #62210 (Exceptions can leak temporary variables. As a part of the
fix serious refactoring was done. op_array->brk_cont_array was removed, and replaced with
more general and speed efficient op_array->T_liveliness. ZEND_GOTO opcode is always replaced
by ZEND_JMP at compile time). (Bob, Dmitry, Laruence)"
------------------------------------------------------------------------
[2015-07-10 01:58:51] dmitry@php.net
The fix was reverted.
------------------------------------------------------------------------
[2015-07-07 23:36:51] ab@php.net
Automatic comment on behalf of dmitry@zend.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5ee841325901a4b040cfea56292a24702fe224d9
Log: Fixed bug #62210 (Exceptions can leak temporary variables. As a part of the fix serious
refactoring was done. op_array->brk_cont_array was removed, and replaced with more general
and speed efficient op_array->T_liveliness. ZEND_GOTO opcode is always replaced by ZEND_JMP
at compile time). (Bob, Dmitry, Laruence)
------------------------------------------------------------------------
[2015-07-07 12:42:11] dmitry@php.net
Automatic comment on behalf of dmitry@zend.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5ee841325901a4b040cfea56292a24702fe224d9
Log: Fixed bug #62210 (Exceptions can leak temporary variables. As a part of the fix serious
refactoring was done. op_array->brk_cont_array was removed, and replaced with more general
and speed efficient op_array->T_liveliness. ZEND_GOTO opcode is always replaced by ZEND_JMP
at compile time). (Bob, Dmitry, Laruence)
------------------------------------------------------------------------
[2012-06-25 08:12:35] dmitry@php.net
I confirm the bug, but I don't see a simple way to fix it.
In general, it's possible to extend zend_op_array with information about ranges of temporary
variables livenes, but overhead is going to be too high.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=62210
--
Edit this bug report at https://bugs.php.net/bug.php?id=62210&edit=1