php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2519 reading from socket causes crash
Submitted: 1999-10-14 04:12 UTC Modified: 2000-07-23 01:29 UTC
From: jh at synergy dot cx Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Beta 2 OS: WinNT 4.0 SP5
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: jh at synergy dot cx
New email:
PHP Version: OS:

 

 [1999-10-14 04:12 UTC] jh at synergy dot cx
Reading w/ fread from the socket causes PHP to crash:

fsockopen($server,$port,&$errno,&$errstr,$timeout);
$str =  fread($handle,4000);

I don't know if fread is intended for use with sockets
but it worked with PHP 3.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-23 01:29 UTC] zak at cvs dot php dot net
Described bug does not occur on Win98/PHP 4.1pl2 or WinNT 4.0/PHP4.0.0 CGI version.

Contacted user - advised them to upgrade to a newer release of PHP.

Will reopen bug if user contacts me to let me know that they are still experiencing the bug with a newer version of PHP
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 00:01:30 2024 UTC