php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15672 fread crashes if file larger than 4 KB
Submitted: 2002-02-22 05:43 UTC Modified: 2002-05-24 20:23 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:3 (100.0%)
From: mcsolingen at web dot de Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.1.1 OS: Windows 2000 SP2 SPR1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mcsolingen at web dot de
New email:
PHP Version: OS:

 

 [2002-02-22 05:43 UTC] mcsolingen at web dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-24 20:23 UTC] derick@php.net
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...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 08:01:35 2024 UTC