Bug #72102 [Asn]: Segfault when using func_get_args as error handler
| From: | kalle@php.net | Date: | Sat, 30 Jul 2016 19:59:50 +0000 |
| Subject: | Bug #72102 [Asn]: Segfault when using func_get_args as error handler | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-202739@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72102&edit=1
ID: 72102
Updated by: kalle@php.net
Reported by: nikic@php.net
Summary: Segfault when using func_get_args as error handler
Status: Assigned
Type: Bug
Package: Scripting Engine problem
PHP Version: 7.0.6RC1
Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
Wasn't this fixed in 7.1 with the restriction to calls to func_get_args in a dynamic context?
Previous Comments:
------------------------------------------------------------------------
[2016-05-17 05:50:41] krakjoe@php.net
Just assigning to you so that this is not forgotten when the solution is merged.
------------------------------------------------------------------------
[2016-04-25 16:45:15] nikic@php.net
Description:
------------
<?php
set_error_handler('func_get_args');
function test($a) {
echo $undef;
}
test(1);
Don't ask me what the expected result should be, but it shouldn't crash...
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72102&edit=1