Skip to content

Commit c58c5e7

Browse files
committed
Fixed bug #69868 (Invalid read of size 1 in zend_compile_short_circuiting)
1 parent eca7f28 commit c58c5e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Zend/zend_compile.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5911,6 +5911,7 @@ void zend_compile_short_circuiting(znode *result, zend_ast *ast) /* {{{ */
59115911
return;
59125912
}
59135913

5914+
opline_jmpz = &CG(active_op_array)->opcodes[opnum_jmpz];
59145915
GET_NODE(result, opline_jmpz->result);
59155916

59165917
opline_bool = zend_emit_op(NULL, ZEND_BOOL, &right_node, NULL);

0 commit comments

Comments
 (0)