tony2001 Mon Feb 6 10:42:58 2006 UTC
Modified files: (Branch: PHP_4_4)
/php-src/ext/mbstring mbstring.c
Log:
MF51: initialize to_r
http://cvs.php.net/viewcvs.cgi/php-src/ext/mbstring/mbstring.c?r1=1.142.2.47.2.8&r2=1.142.2.47.2.9&diff_format=u
Index: php-src/ext/mbstring/mbstring.c
diff -u php-src/ext/mbstring/mbstring.c:1.142.2.47.2.8
php-src/ext/mbstring/mbstring.c:1.142.2.47.2.9
--- php-src/ext/mbstring/mbstring.c:1.142.2.47.2.8 Sun Jan 1 13:46:54 2006
+++ php-src/ext/mbstring/mbstring.c Mon Feb 6 10:42:58 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mbstring.c,v 1.142.2.47.2.8 2006/01/01 13:46:54 sniper Exp $ */
+/* $Id: mbstring.c,v 1.142.2.47.2.9 2006/02/06 10:42:58 tony2001 Exp $ */
/*
* PHP4 Multibyte String module "mbstring"
@@ -3510,7 +3510,7 @@
mbfl_memory_device device; /* automatic allocateable buffer for
additional header */
const mbfl_language *lang;
int err = 0;
- char *to_r;
+ char *to_r = NULL;
int to_len, i;
/* initialize */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php