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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: nepto at pobox dot sk
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Mon Nov 04 06:01:28 2024 UTC