#43023 [Opn->Fbk]: Bug on set stream NULL
| From: | johannes@php.net | Date: | Fri, 19 Oct 2007 08:31:26 +0000 |
| Subject: | #43023 [Opn->Fbk]: Bug on set stream NULL | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-118702@lists.php.net to get a copy of this message | ||
ID: 43023
Updated by: johannes@php.net
Reported By: federeghe at hotmail dot it
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: All
PHP Version: 5.3CVS-2007-10-18 (CVS)
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2007-10-18 18:04:42] federeghe at hotmail dot it
Description:
------------
View code. On 4° line, apache crashes...
Reproduce code:
---------------
$this->stream = fopen('./html/page.phtml', 'r');
$this->page = fread($this->stream,filesize('./html/page.phtml'));
fclose($this->stream);
$this->stream=NULL; //Crash apache (???)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43023&edit=1