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
?? ??? ????, PHP 8.2.0RC5
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 @@ -161,7 +161,8 @@ void zend_exception_restore(void) /* {{{ */
161
161
162
162
static zend_always_inline bool is_handle_exception_set (void ) {
163
163
zend_execute_data * execute_data = EG (current_execute_data );
164
- return !execute_data -> func
164
+ return !execute_data
165
+ || !execute_data -> func
165
166
|| !ZEND_USER_CODE (execute_data -> func -> common .type )
166
167
|| execute_data -> opline -> opcode == ZEND_HANDLE_EXCEPTION ;
167
168
}
You can’t perform that action at this time.
0 commit comments