mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed access to wrong opline (it may be the last ZEND_THROW in op_array->opcodes)
This commit is contained in:
parent
5ea429494e
commit
e57aceed42
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ ZEND_API void zend_throw_exception_internal(zval *exception) /* {{{ */
|
|||
|
||||
if (!EG(current_execute_data)->func ||
|
||||
!ZEND_USER_CODE(EG(current_execute_data)->func->common.type) ||
|
||||
(EG(current_execute_data)->opline+1)->opcode == ZEND_HANDLE_EXCEPTION) {
|
||||
EG(current_execute_data)->opline->opcode == ZEND_HANDLE_EXCEPTION) {
|
||||
/* no need to rethrow the exception */
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue