|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72 include/require of bad files crashes php
Submitted: 1998-02-16 12:56 UTC Modified: 1998-07-28 15:15 UTC
From: koles at atrey dot karlin dot mff dot cuni dot cz Assigned: zeev (profile)
Status: Closed Package: Parser error
PHP Version: 3.0 Latest CVS OS: Linux 2.0.33 (RH 5.0)
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.
Block user comment
Status: Assign to:
Bug Type:
From: koles at atrey dot karlin dot mff dot cuni dot cz
New email:
PHP Version: OS:


 [1998-02-16 12:56 UTC] koles at atrey dot karlin dot mff dot cuni dot cz
When I try to include empty file name or a directory
name using require or include, PHP crashes instead of
displaying "failed opening file" error message.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-28 15:15 UTC] zeev
Empty file names don't appear to cause require() and
include() to crash, but directories do cause the parser
to barf in a way that isn't trapped by the normal error
handling mechanisms.

Time to close this bug, it'll never be changed in 3.0.
We may add a stat() in 3.1 to ensure that the file is
readable, if it doesn't hurt performance too much.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 25 11:01:33 2024 UTC