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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
32 + 1 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 15:01:30 2024 UTC