Bug #18363 Updated: [chm] bug on function.fread.html
| From: | alfil_uno at hotmail dot com | Date: | Tue, 23 Jul 2002 04:59:02 +0000 |
| Subject: | Bug #18363 Updated: [chm] bug on function.fread.html | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-14854@lists.php.net to get a copy of this message | ||
ID: 18363
Updated by: alfil_uno@hotmail.com
Reported By: asyka@kimo.com.tw
Status: Open
Bug Type: Reproducible crash
Operating System: windows
PHP Version: 4.2.1
New Comment:
When reading with the function fread I have found an error when read
hexadecimal "1A", not, but I believe that they must more of the sort
have.
Previous Comments:
------------------------------------------------------------------------
[2002-07-17 02:52:42] asyka@kimo.com.tw
for example:(abc.exe is execution file)
$fp=fopen("abc.exe","rb");
$exe_get=fread($fp,filesize("abc.exe"));
------------------------------------------------------------------------
[2002-07-17 02:18:43] sniper@php.net
oops...misunderstood (!) this.
Can you please show us a SHORT example script which
causes this crash?
------------------------------------------------------------------------
[2002-07-17 02:11:09] asyka@kimo.com.tw
i try fread function(binary file) to read execution file may crash
php(apache)
because exectuion file header is 0x00(????), that is the file header is
memory protection area
so win2000 kernal may send signal fail
----------------------------------------------------
fread can detection execution file in previous processed?
that is do noting for execution file format...
------------------------------------------------------------------------
[2002-07-16 01:55:25] derick@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-07-16 01:15:23] asyka@kimo.com.tw
I have found a bug on page function.fread.html
[chm date: 2002-04-20]...
in php 4.2.1 fread function
sometime may crash php (show can't read 0x000... memory address)
what's wrong?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18363&edit=1