php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10279 recursive loop problem
Submitted: 2001-04-11 01:39 UTC Modified: 2001-04-11 02:16 UTC
From: nf at labyrinth dot net dot au Assigned:
Status: Not a bug Package: Reproducible Crash
PHP Version: 4.0.4 OS: FreeBSD 4.1.1-STABLE
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: nf at labyrinth dot net dot au
New email:
PHP Version: OS:

 

 [2001-04-11 01:39 UTC] nf at labyrinth dot net dot au
--- begin test.php ---
<?

$test = include("test.php");

?>
--- end test.php ---

This brought my whole server to it's knees. It basically ate all the resources it could find and filled up all the swap space until the kernel went "erk".

I haven't done much research but I'm aware that there are ways of detecting this kind of script.

Maybe this isn't really a bug, but it's something worth thinking about (or at least documenting).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-11 02:16 UTC] derick@php.net
This is not a bug, we have include_once() and require_once() for this.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 13:01:28 2024 UTC