php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18074 class method infinite recursion causes SIGSEGV
Submitted: 2002-06-30 15:56 UTC Modified: 2002-06-30 15:59 UTC
From: nepto at pobox dot sk Assigned:
Status: Wont fix Package: Reproducible crash
PHP Version: 4.1.2 OS: FreeBSD, Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-06-30 15:56 UTC] nepto at pobox dot sk
Following script causes SIGSEGV of PHP interpreter version 4.1.2 and 4.1.0. Maybe affect also another versions, but only these two were tested.

Reproduction is simple. Run this from shell:

$ php kill-php.php

<?php

// kill-php.php - PHP interpreter kill (sigfaulter)
// (c) 2002 Ondrej Jombik <nepto@pobox.sk> [30/5/2002]
// $Id: kill-php.php,v 1.3 2002/05/31 17:03:43 jombik9 Exp $

// Works with 4.1.2, 4.1.0. Other versions untested.
// If you test this script with others version of PHP,
// please write and commit result here.

class Bar
{
        function Foo($param)
        {
                return Bar::Foo($param);
        }
}

Bar::Foo(1);

?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-30 15:59 UTC] derick@php.net
Won't be fixed, search the bug db and the archives (marc.theaimsgroup.com).
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Mar 09 11:01:23 2021 UTC