]> granicus.if.org Git - php/commitdiff
initialize script_encoding_list (reported by Gustavo Lopes)
authorAntony Dovgal <tony2001@php.net>
Mon, 27 Dec 2010 20:25:34 +0000 (20:25 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 27 Dec 2010 20:25:34 +0000 (20:25 +0000)
Zend/zend.c

index 849a7edf2f44bcc660fffea23fde25da9bfa98fd..f4116e5ba166c65ed15da938d3f66e6f7ac889e2 100644 (file)
@@ -522,6 +522,7 @@ static void compiler_globals_ctor(zend_compiler_globals *compiler_globals TSRMLS
        } else {
                compiler_globals->static_members_table = NULL;
        }
+       compiler_globals->script_encoding_list = NULL;
 }
 /* }}} */