cvs: ZendEngine2(PHP_5_1) / zend_compile.c
| From: | Dmitry Stogov | Date: | Tue, 02 May 2006 07:19:01 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_1) / zend_compile.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4829@lists.php.net to get a copy of this message | ||
dmitry Tue May 2 07:19:01 2006 UTC
Modified files: (Branch: PHP_5_1)
/ZendEngine2 zend_compile.c
Log:
Fixed ossible crash in highlight_string().
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_compile.c?r1=1.647.2.25&r2=1.647.2.26&diff_format=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.647.2.25 ZendEngine2/zend_compile.c:1.647.2.26
--- ZendEngine2/zend_compile.c:1.647.2.25 Mon Mar 27 08:09:18 2006
+++ ZendEngine2/zend_compile.c Tue May 2 07:19:00 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_compile.c,v 1.647.2.25 2006/03/27 08:09:18 dmitry Exp $ */
+/* $Id: zend_compile.c,v 1.647.2.26 2006/05/02 07:19:00 dmitry Exp $ */
#include <zend_language_parser.h>
#include "zend.h"
@@ -131,6 +131,7 @@
zend_stack_init(&CG(foreach_copy_stack));
zend_stack_init(&CG(object_stack));
zend_stack_init(&CG(declare_stack));
+ CG(active_op_array) = NULL;
CG(active_class_entry) = NULL;
zend_llist_init(&CG(list_llist), sizeof(list_llist_element), NULL, 0);
zend_llist_init(&CG(dimension_llist), sizeof(int), NULL, 0);