cvs: ZendEngine2 / zend_compile.c

From: Date: Tue, 30 Jul 2002 22:14:39 +0000
Subject: cvs: ZendEngine2 / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-286@lists.php.net to get a copy of this message
jason Tue Jul 30 18:14:39 2002 EDT Modified files: /ZendEngine2 zend_compile.c Log: Fix segfault Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.298 ZendEngine2/zend_compile.c:1.299 --- ZendEngine2/zend_compile.c:1.298 Tue Jul 30 00:07:15 2002 +++ ZendEngine2/zend_compile.c Tue Jul 30 18:14:39 2002 @@ -1723,7 +1723,7 @@ zend_op *opline = &CG(active_op_array)->opcodes[CG(active_op_array)->last-1]; HashTable *table; - if (strchr(opline->op2.u.constant.value.str.val, ':')) { + if (opline->op2.op_type != IS_UNUSED && strchr(opline->op2.u.constant.value.str.val, ':')) { return; } if (do_bind_function_or_class(opline, CG(function_table), CG(class_table), 1)==FAILURE) {

« previous php.zend-engine.cvs (#286) next »