#21585 [Opn->Fbk]: socket_shutdown() crashes php.exe
| From: | sniper@php.net | Date: | Fri, 14 Feb 2003 01:41:31 +0000 |
| Subject: | #21585 [Opn->Fbk]: socket_shutdown() crashes php.exe | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33118@lists.php.net to get a copy of this message | ||
ID: 21585
Updated by: sniper@php.net
Reported By: ptchristendom@yahoo.com
-Status: Open
+Status: Feedback
Bug Type: Sockets related
Operating System: Windows NT 4.0 SP 6
PHP Version: 4.3.0
New Comment:
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..
Previous Comments:
------------------------------------------------------------------------
[2003-01-11 15:51:32] nospam@hotmail.com
See also bug #21588.
http://bugs.php.net/21588
------------------------------------------------------------------------
[2003-01-11 12:29:19] ptchristendom@yahoo.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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21585&edit=1