Fixed segfault in wordpress (introduced in rev 4a4529adb0)

This commit is contained in:
Xinchen Hui 2015-06-29 15:13:09 +08:00
parent b34f9bc2e9
commit 5ba28d76d2

View File

@ -6623,10 +6623,9 @@ static void zend_compile_encaps_list(znode *result, zend_ast *ast) /* {{{ */
} else {
uint32_t var;
zend_brk_cont_element *info = get_next_brk_cont_element(CG(active_op_array));
info->brk = opline - CG(active_op_array)->opcodes;
info->start = rope_init_lineno;
info->parent = CG(context).current_brk_cont;
info->cont = -1;
info->cont = info->brk = opline - CG(active_op_array)->opcodes;
init_opline->extended_value = j;
opline->opcode = ZEND_ROPE_END;