Hi!

Would anyone mind to commit the attached one-line fix for bug #21760? I
don't have commit access to the sockets extension.

  http://bugs.php.net/bug.php?id=21760

-- 
Regards,

-\- David Eriksson -/-

Developer of the Universe PHP extension for CORBA access.
Index: ext/sockets/sockets.c
===================================================================
RCS file: /repository/php-src/ext/sockets/sockets.c,v
retrieving revision 1.125.2.19
diff -u -b -B -r1.125.2.19 sockets.c
--- ext/sockets/sockets.c	28 Aug 2003 20:01:30 -0000	1.125.2.19
+++ ext/sockets/sockets.c	25 Feb 2004 14:41:44 -0000
@@ -294,6 +294,7 @@
 
 	set_errno(0);
 
+	*t = '\0';
 	while (*t != '\n' && *t != '\r' && n < maxlen) {
 		if (m > 0) {
 			t++;

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to