wez Thu Nov 27 12:37:36 2003 EDT Modified files: /php-src/ext/standard streamsfuncs.c Log: initialize this one to be safe Index: php-src/ext/standard/streamsfuncs.c diff -u php-src/ext/standard/streamsfuncs.c:1.27 php-src/ext/standard/streamsfuncs.c:1.28 --- php-src/ext/standard/streamsfuncs.c:1.27 Mon Nov 3 09:12:44 2003 +++ php-src/ext/standard/streamsfuncs.c Thu Nov 27 12:37:35 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: streamsfuncs.c,v 1.27 2003/11/03 14:12:44 derick Exp $ */ +/* $Id: streamsfuncs.c,v 1.28 2003/11/27 17:37:35 wez Exp $ */ #include "php.h" #include "php_globals.h" @@ -570,7 +570,7 @@ Runs the select() system call on the sets of streams with a timeout specified by tv_sec and tv_usec */ PHP_FUNCTION(stream_select) { - zval *r_array, *w_array, *e_array, *sec; + zval *r_array, *w_array, *e_array, *sec = NULL; struct timeval tv; struct timeval *tv_p = NULL; fd_set rfds, wfds, efds;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php