#18363 [Opn->Fbk]: [chm] bug on function.fread.html
| From: | iliaa@php.net | Date: | Tue, 01 Oct 2002 23:09:49 +0000 |
| Subject: | #18363 [Opn->Fbk]: [chm] bug on function.fread.html | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-21177@lists.php.net to get a copy of this message | ||
ID: 18363
Updated by: iliaa@php.net
Reported By: asyka@kimo.com.tw
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: windows
PHP Version: 4.2.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
I've tried opening various exe and com files and I am unable to
replicate the crash you've reported. Please try the latest release and
see if the problem still occurs.
Previous Comments:
------------------------------------------------------------------------
[2002-07-23 00:59:02] alfil_uno@hotmail.com
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.
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/18363
--
Edit this bug report at http://bugs.php.net/?id=18363&edit=1