5.3 cvs zend_do_begin_dynamic_function_call ZEND_OP_DATA op2 not initialized

From: Date: Fri, 12 Dec 2008 04:58:19 +0000
Subject: 5.3 cvs zend_do_begin_dynamic_function_call ZEND_OP_DATA op2 not initialized
Groups: php.internals 
Request: Send a blank email to internals+get-42218@lists.php.net to get a copy of this message
opline2->op2.op_type == 0, which should be opline2->op2.op_type == IS_UNUSED. patch followed: $ cvs diff zend_compile.c Index: zend_compile.c =================================================================== RCS file: /repository/ZendEngine2/zend_compile.c,v retrieving revision 1.647.2.27.2.41.2.95 diff -u -r1.647.2.27.2.41.2.95 zend_compile.c --- zend_compile.c 26 Nov 2008 00:57:05 -0000 1.647.2.27.2.41.2.95 +++ zend_compile.c 12 Dec 2008 04:54:42 -0000 @@ -1664,6 +1664,7 @@ Z_LVAL(opline2->op1.u.constant) = prefix_len; /* this is the hash of the non-prefixed part, lowercased */ opline2->extended_value = zend_hash_func(slash+1, name_len+1); + SET_UNUSED(opline2->op2); } else { opline->opcode = ZEND_INIT_FCALL_BY_NAME; opline->op2 = *function_name;

« previous php.internals (#42218) next »