cvs: ZendEngine2 / zend_compile.c
| From: | Dmitry Stogov | Date: | Tue, 02 May 2006 15:49:44 +0000 |
| Subject: | cvs: ZendEngine2 / zend_compile.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4831@lists.php.net to get a copy of this message | ||
dmitry Tue May 2 15:49:44 2006 UTC
Modified files:
/ZendEngine2 zend_compile.c
Log:
Fixed possible crash in highlight_string() (proper place)
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_compile.c?r1=1.704&r2=1.705&diff_format=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.704 ZendEngine2/zend_compile.c:1.705
--- ZendEngine2/zend_compile.c:1.704 Mon Mar 27 17:34:06 2006
+++ ZendEngine2/zend_compile.c Tue May 2 15:49:44 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_compile.c,v 1.704 2006/03/27 17:34:06 andrei Exp $ */
+/* $Id: zend_compile.c,v 1.705 2006/05/02 15:49:44 dmitry Exp $ */
#include <zend_language_parser.h>
#include "zend.h"
@@ -165,6 +165,7 @@
void init_compiler(TSRMLS_D)
{
+ CG(active_op_array) = NULL;
zend_init_compiler_data_structures(TSRMLS_C);
zend_init_rsrc_list(TSRMLS_C);
zend_hash_init(&CG(filenames_table), 5, NULL, (dtor_func_t) free_estring, 0);