mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Limit stack size (#9104)
This commit is contained in:
parent
dc54e04ed4
commit
a11c8a3039
41 changed files with 1844 additions and 12 deletions
|
@ -611,7 +611,7 @@ PHPDBG_API bool phpdbg_check_caught_ex(zend_execute_data *execute_data, zend_obj
|
|||
uint32_t op_num, i;
|
||||
zend_op_array *op_array = &execute_data->func->op_array;
|
||||
|
||||
if (execute_data->opline >= EG(exception_op) && execute_data->opline < EG(exception_op) + 3) {
|
||||
if (execute_data->opline >= EG(exception_op) && execute_data->opline < EG(exception_op) + 3 && EG(opline_before_exception)) {
|
||||
op = EG(opline_before_exception);
|
||||
} else {
|
||||
op = execute_data->opline;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue