php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21585 socket_shutdown() crashes php.exe
Submitted: 2003-01-11 12:29 UTC Modified: 2003-02-20 08:01 UTC
From: ptchristendom at yahoo dot com Assigned:
Status: No Feedback Package: Sockets related
PHP Version: 4.3.0 OS: Windows NT 4.0 SP 6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
22 + 34 = ?
Subscribe to this entry?

 
 [2003-01-11 12:29 UTC] ptchristendom at yahoo dot com
Causes:

Exception: access violation (0xc0000005), Address 0x10011b1b

Proof of concept:

<?
$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
socket_shutdown($socket);
?>

I used the windows build available from www.php.net, and I also used the php-ini.recommended, except that I uncommented the lines to load the modules php_bz2.dll, php_sockets.dll, php_zip.dll

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-11 15:51 UTC] nospam at hotmail dot com
See also bug #21588.

http://bugs.php.net/21588
 [2003-02-13 19:41 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Does not crash for me..

 [2003-02-20 08:01 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 20:01:31 2024 UTC