File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 2
2
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3
3
?? ??? 2022, PHP 8.0.26
4
4
5
+ - CLI:
6
+ . Fixed bug GH-9709 (Null pointer dereference with -w/-s options). (Adam Saponara)
7
+
5
8
- Core:
6
9
. Fixed bug GH-9752 (Generator crashes when interrupted during argument
7
10
evaluation with extra named params). (Arnaud)
Original file line number Diff line number Diff line change @@ -146,7 +146,8 @@ void zend_exception_restore(void) /* {{{ */
146
146
147
147
static zend_always_inline zend_bool is_handle_exception_set () {
148
148
zend_execute_data * execute_data = EG (current_execute_data );
149
- return !execute_data -> func
149
+ return !execute_data
150
+ || !execute_data -> func
150
151
|| !ZEND_USER_CODE (execute_data -> func -> common .type )
151
152
|| execute_data -> opline -> opcode == ZEND_HANDLE_EXCEPTION ;
152
153
}
You can’t perform that action at this time.
0 commit comments