php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12016 Self-icludes causes system to consume all of available memory
Submitted: 2001-07-10 11:11 UTC Modified: 2001-07-10 12:31 UTC
From: laacz at laacz dot lv Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.6 OS: any
Private report: No CVE-ID: None
 [2001-07-10 11:11 UTC] laacz at laacz dot lv
test.php contains:
<?
include ( 'test.php' );
?>

then just request test.php via any browser and here you are.

Suggestion:
Add variable to php.ini file, which restricts amount of nested includes.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-10 12:31 UTC] derick@php.net
For these kinds of things we have include_once and require_once.

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 05:01:31 2024 UTC