#23080 [Opn->Ver]: php crash when using socket_strerror

From: Date: Mon, 07 Apr 2003 10:16:08 +0000
Subject: #23080 [Opn->Ver]: php crash when using socket_strerror
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37257@lists.php.net to get a copy of this message
ID: 23080 Updated by: sniper@php.net Reported By: bibifoc23 at yahoo dot fr -Status: Open +Status: Verified Bug Type: Sockets related Operating System: windows 2000 -PHP Version: 4CVS-2003-04-07 (stable) +PHP Version: 4.3.2-RC (latest CVS) New Comment: Seems to bork on this line: sockets.c:361: strlcpy(SOCKETS_G(strerror_buf), (char *) tmp, 10000); Previous Comments: ------------------------------------------------------------------------ [2003-04-07 04:30:03] bibifoc23 at yahoo dot fr When i use the following command, php crash: echo socket_strerror ( 40 ); or for ( $i=0; $i < 50 ; $i++ ) { echo socket_strerror ( $i ); } i test php in cli and cgi mode. This works fine on linux. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23080&edit=1

« previous php.bugs (#37257) next »