diff options
| author | Bob Weinand <bobwei9@hotmail.com> | 2015-07-09 20:07:40 +0200 |
|---|---|---|
| committer | Bob Weinand <bobwei9@hotmail.com> | 2015-07-09 20:07:57 +0200 |
| commit | cc876c04b420589cb1f62b650d0c0e24975dd4af (patch) | |
| tree | 46e5fe6f43ff16030a746b3b7d1e83d47ed31609 /Zend/zend_opcode.c | |
| parent | 9591b1cc3c0a892b6febc39b80ba1f453532cb22 (diff) | |
| download | php-git-cc876c04b420589cb1f62b650d0c0e24975dd4af.tar.gz | |
Fix too early terminated temporary range with break/cont/goto
I have no crashing or leaking reproduce script, only valgrind invalid reads for that one; hence no phpt here
Diffstat (limited to 'Zend/zend_opcode.c')
| -rw-r--r-- | Zend/zend_opcode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c index e84edd54b9..6a89a54712 100644 --- a/Zend/zend_opcode.c +++ b/Zend/zend_opcode.c @@ -994,8 +994,8 @@ static zend_always_inline uint32_t *generate_var_liveliness_info_ex(zend_op_arra && opline->opcode != ZEND_FE_FETCH_RW /* the following opcodes are parts of "return" statement */ && opline->opcode != ZEND_VERIFY_RETURN_TYPE - && (opline->opcode != ZEND_FREE || !(opline->extended_value & ZEND_FREE_ON_RETURN)) - && (opline->opcode != ZEND_FE_FREE || !(opline->extended_value & ZEND_FREE_ON_RETURN)) + && (opline->opcode != ZEND_FREE || !(opline->extended_value & ZEND_FREE_ON_JUMP)) + && (opline->opcode != ZEND_FE_FREE || !(opline->extended_value & ZEND_FREE_ON_JUMP)) ) { op_live_total += liveliness_kill_var(op_array, opline, var, Tstart, opTs); } |
