php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7080 Recusive Include()s crash system
Submitted: 2000-10-07 20:36 UTC Modified: 2000-10-10 08:42 UTC
From: haroldp at internal dot org Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.2 OS: FreeBSD 4.0-STABLE
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: haroldp at internal dot org
New email:
PHP Version: OS:

 

 [2000-10-07 20:36 UTC] haroldp at internal dot org
Include()ing a file that Include()s itself - ie, a recusive 
Include() - will completely crash a system.  Not just the 
web server, it ran my box out of swap in a few seconds 
and required a power cycle.  

Could we get some sanity checking on this?  I had a 
web designer's *typo* bring a ssytem to its knees.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-10 08:42 UTC] stas@php.net
First of all, you probably need to use resource limits. Second, you have include_once for this - use it.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 28 19:00:01 2026 UTC