Bug #69427 [Opn->Csd]: Segfault on magic method __call of private method in superclass
| From: | laruence@php.net | Date: | Sat, 11 Apr 2015 15:59:49 +0000 |
| Subject: | Bug #69427 [Opn->Csd]: Segfault on magic method __call of private method in superclass | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-191969@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69427&edit=1
ID: 69427
Updated by: laruence@php.net
Reported by: tom at tmoitie dot co dot uk
Summary: Segfault on magic method __call of private method in
superclass
-Status: Open
+Status: Closed
Type: Bug
Package: Reproducible crash
Operating System: OS X 10.10
PHP Version: master-Git-2015-04-11 (Git)
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=cefad04f0d20b45d5cb9b572f7253b45f33bd737
Log: Fixed bug #69427 (Segfault on magic method __call of private method in superclass)
Previous Comments:
------------------------------------------------------------------------
[2015-04-11 13:42:43] tom at tmoitie dot co dot uk
Description:
------------
In latest master (5da417), calling a self referencing private method inside a __call of a parent
class causes a segfault in all subclasses.
Configure: https://gist.github.com/tmoitie/61f28d1a188b4e2b0bf9
PHP ini is default
Test script:
---------------
http://3v4l.org/vvRVo
Expected result:
----------------
string(3) "foo"
string(3) "bar"
string(6) "foobar"
Actual result:
--------------
string(3) "foo"
string(3) "bar"
[1] 70326 segmentation fault php testcase.php
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69427&edit=1