cvs: ZendEngine2 / zend.c
| From: | Dmitry Stogov | Date: | Wed, 19 Apr 2006 10:29:46 +0000 |
| Subject: | cvs: ZendEngine2 / zend.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4822@lists.php.net to get a copy of this message | ||
dmitry Wed Apr 19 10:29:46 2006 UTC
Modified files:
/ZendEngine2 zend.c
Log:
Fixed cleanup dependent on uninitialized value
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend.c?r1=1.350&r2=1.351&diff_format=u
Index: ZendEngine2/zend.c
diff -u ZendEngine2/zend.c:1.350 ZendEngine2/zend.c:1.351
--- ZendEngine2/zend.c:1.350 Fri Mar 31 22:51:37 2006
+++ ZendEngine2/zend.c Wed Apr 19 10:29:46 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.c,v 1.350 2006/03/31 22:51:37 pollita Exp $ */
+/* $Id: zend.c,v 1.351 2006/04/19 10:29:46 dmitry Exp $ */
#include "zend.h"
#include "zend_extensions.h"
@@ -911,6 +911,7 @@
unicode_globals->output_encoding_conv = NULL;
unicode_globals->script_encoding_conv = NULL;
unicode_globals->http_input_encoding_conv = NULL;
+ unicode_globals->filesystem_encoding_conv = NULL;
zend_set_converter_encoding(&unicode_globals->utf8_conv, "UTF-8");
unicode_globals->from_error_mode = ZEND_CONV_ERROR_SUBST;
memset(unicode_globals->from_subst_char, 0, 3 * sizeof(UChar));