cvs: php-src(PHP_5_1) / NEWS /ext/sockets sockets.c

From: Date: Thu, 01 Dec 2005 14:02:55 +0000
Subject: cvs: php-src(PHP_5_1) / NEWS /ext/sockets sockets.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-35562@lists.php.net to get a copy of this message
tony2001 Thu Dec 1 09:02:55 2005 EDT Modified files: (Branch: PHP_5_1) /php-src NEWS /php-src/ext/sockets sockets.c Log: fix #35490 (socket_sendto() unable to handle IPv6 addresses) http://cvs.php.net/diff.php/php-src/NEWS?r1=1.2027.2.264&r2=1.2027.2.265&ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.264 php-src/NEWS:1.2027.2.265 --- php-src/NEWS:1.2027.2.264 Thu Dec 1 08:41:53 2005 +++ php-src/NEWS Thu Dec 1 09:02:44 2005 @@ -20,6 +20,7 @@ connecting to 5.x server. (Andrey) - Fixed bug #35496 (Crash in mcrypt_generic()/mdecrypt_generic() without proper init). (Ilia) +- Fixed bug #35490 (socket_sendto() unable to handle IPv6 addresses). (Tony) - Fixed bug #35437 (Segfault or Invalid Opcode 137/1/4). (Dmitry) - Fixed bug #34729 (Crash in ZTS mode under Apache). (Dmitry, Zeev) - Fixed bug #35470 (Assigning global using variable name from array doesn't http://cvs.php.net/diff.php/php-src/ext/sockets/sockets.c?r1=1.171.2.2&r2=1.171.2.3&ty=u Index: php-src/ext/sockets/sockets.c diff -u php-src/ext/sockets/sockets.c:1.171.2.2 php-src/ext/sockets/sockets.c:1.171.2.3 --- php-src/ext/sockets/sockets.c:1.171.2.2 Thu Nov 3 10:00:51 2005 +++ php-src/ext/sockets/sockets.c Thu Dec 1 09:02:54 2005 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sockets.c,v 1.171.2.2 2005/11/03 15:00:51 mike Exp $ */ +/* $Id: sockets.c,v 1.171.2.3 2005/12/01 14:02:54 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1482,7 +1482,7 @@ RETURN_FALSE; } - retval = sendto(php_sock->bsd_socket, buf, (len > buf_len) ? buf_len : len, flags, (struct sockaddr *) &sin, sizeof(sin)); + retval = sendto(php_sock->bsd_socket, buf, (len > buf_len) ? buf_len : len, flags, (struct sockaddr *) &sin6, sizeof(sin6)); break; #endif default:

« previous php.cvs (#35562) next »