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

From: Date: Fri, 22 Feb 2002 10:43:40 +0000
Subject: Bug #15672: fread crashes if file larger than 4 KB
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-795@lists.php.net to get a copy of this message
From: mcsolingen@web.de Operating system: Windows 2000 SP2 SPR1 PHP version: 4.1.1 PHP Bug Type: Reproducible crash Bug description: fread crashes if file larger than 4 KB 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 bug report at http://bugs.php.net/?id=15672&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15672&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15672&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15672&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15672&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15672&r=support Expected behavior: http://bugs.php.net/fix.php?id=15672&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15672&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15672&r=submittedtwice

« previous php.bugs (#795) next »