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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

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: Fri Apr 26 12:01:30 2024 UTC