Bug #15672 Updated: fread crashes if file larger than 4 KB

From: Date: Sat, 25 May 2002 00:23:46 +0000
Subject: Bug #15672 Updated: fread crashes if file larger than 4 KB
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8465@lists.php.net to get a copy of this message
ID: 15672 Updated by: derick@php.net Reported By: mcsolingen@web.de -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: Windows 2000 SP2 SPR1 PHP Version: 4.1.1 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately your version of PHP is too old -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. This works fine for me BTW... Previous Comments: ------------------------------------------------------------------------ [2002-02-22 05:43:39] mcsolingen@web.de OS : Windows 2000 SP2 SPR1 Webserver : Apache v1.3.22 PHP : v4.1.1 installtype : CGI Version Error : When I open a file larger than 4KB via $datei_content = fread(fopen ($dataDir.$datei_anhang_name, "r"),filesize($dataDir.$datei_anhang_name)); the php.exe interpreter crashes with a dialog boxes that read operations failed in serveral memory areas. For Files smaller than 4 KB ist works fine without any problems! Apache ErrorLog : [Fri Feb 22 11:27:30 2002] [error] [client 127.0.0.1] Premature end of script headers: c:/programme/apache/php/php.exe ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15672&edit=1

« previous php.bugs (#8465) next »