From b01df7d7936720f8c602fd93a5e20deb5c10b88a Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 25 Aug 2005 07:56:15 +0000 Subject: [PATCH] Fixed access to uninitialized variables --- Zend/zend.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Zend/zend.c b/Zend/zend.c index b904fbd0f1..ef30b5f6f9 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -1108,6 +1108,7 @@ static void unicode_globals_ctor(zend_unicode_globals *unicode_globals TSRMLS_DC 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; -- 2.50.1