tony2001 Mon Oct 2 16:08:11 2006 UTC Modified files: /php-src/ext/mysqli mysqli_api.c Log: don't rely on uninitialized var http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/mysqli_api.c?r1=1.135&r2=1.136&diff_format=u Index: php-src/ext/mysqli/mysqli_api.c diff -u php-src/ext/mysqli/mysqli_api.c:1.135 php-src/ext/mysqli/mysqli_api.c:1.136 --- php-src/ext/mysqli/mysqli_api.c:1.135 Mon Oct 2 07:42:49 2006 +++ php-src/ext/mysqli/mysqli_api.c Mon Oct 2 16:08:11 2006 @@ -15,7 +15,7 @@ | Author: Georg Richter <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ - $Id: mysqli_api.c,v 1.135 2006/10/02 07:42:49 bjori Exp $ + $Id: mysqli_api.c,v 1.136 2006/10/02 16:08:11 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H @@ -1415,7 +1415,7 @@ { MY_MYSQL *mysql; char *hostname, *username, *passwd, *dbname, *socket; - int hostname_len, username_len, passwd_len, dbname_len, socket_len; + int hostname_len, username_len, passwd_len, dbname_len, socket_len = 0; unsigned long port=0, flags=0; zval *mysql_link;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php