cvs: ZendEngine2 / zend.c
| From: | Dmitry Stogov | Date: | Thu, 25 Aug 2005 07:56:17 +0000 |
| Subject: | cvs: ZendEngine2 / zend.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4072@lists.php.net to get a copy of this message | ||
dmitry Thu Aug 25 03:56:17 2005 EDT
Modified files:
/ZendEngine2 zend.c
Log:
Fixed access to uninitialized variables
http://cvs.php.net/diff.php/ZendEngine2/zend.c?r1=1.316&r2=1.317&ty=u
Index: ZendEngine2/zend.c
diff -u ZendEngine2/zend.c:1.316 ZendEngine2/zend.c:1.317
--- ZendEngine2/zend.c:1.316 Mon Aug 15 10:39:18 2005
+++ ZendEngine2/zend.c Thu Aug 25 03:56:15 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.c,v 1.316 2005/08/15 14:39:18 dmitry Exp $ */
+/* $Id: zend.c,v 1.317 2005/08/25 07:56:15 dmitry Exp $ */
#include "zend.h"
#include "zend_extensions.h"
@@ -1108,6 +1108,7 @@
unicode_globals->output_encoding_conv = NULL;
unicode_globals->script_encoding_conv = NULL;
unicode_globals->http_input_encoding_conv = NULL;
+ unicode_globals->subst_char_len = 0;
zend_set_converter_encoding(&unicode_globals->utf8_conv, "UTF-8");
unicode_globals->from_u_error_mode = ZEND_FROM_U_ERROR_SUBST;