php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69427 Segfault on magic method __call of private method in superclass
Submitted: 2015-04-11 13:42 UTC Modified: -
From: tom at tmoitie dot co dot uk Assigned:
Status: Closed Package: Reproducible crash
PHP Version: master-Git-2015-04-11 (Git) OS: OS X 10.10
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tom at tmoitie dot co dot uk
New email:
PHP Version: OS:

 

 [2015-04-11 13:42 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-11 15:59 UTC] laruence@php.net
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)
 [2015-04-11 15:59 UTC] laruence@php.net
-Status: Open +Status: Closed
 [2016-07-20 11:39 UTC] davey@php.net
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)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 14:01:29 2024 UTC