From: Dmitry Stogov Date: Thu, 25 Aug 2005 07:56:15 +0000 (+0000) Subject: Fixed access to uninitialized variables X-Git-Tag: PRE_NEW_OCI8_EXTENSION~95 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b01df7d7936720f8c602fd93a5e20deb5c10b88a;p=php Fixed access to uninitialized variables --- 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;