mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.4'
* PHP-8.4: Fix possible NULL dereference
This commit is contained in:
commit
81438e3fe8
1 changed files with 2 additions and 1 deletions
|
@ -1369,7 +1369,8 @@ static zend_ssa *zend_jit_trace_build_tssa(zend_jit_trace_rec *trace_buffer, uin
|
||||||
}
|
}
|
||||||
} else if (p->op == ZEND_JIT_TRACE_DO_ICALL) {
|
} else if (p->op == ZEND_JIT_TRACE_DO_ICALL) {
|
||||||
if (JIT_G(opt_level) < ZEND_JIT_LEVEL_OPT_FUNC) {
|
if (JIT_G(opt_level) < ZEND_JIT_LEVEL_OPT_FUNC) {
|
||||||
if (p->func != (zend_function*)&zend_pass_function
|
if (p->func
|
||||||
|
&& p->func != (zend_function*)&zend_pass_function
|
||||||
&& (zend_string_equals_literal(p->func->common.function_name, "extract")
|
&& (zend_string_equals_literal(p->func->common.function_name, "extract")
|
||||||
|| zend_string_equals_literal(p->func->common.function_name, "compact")
|
|| zend_string_equals_literal(p->func->common.function_name, "compact")
|
||||||
|| zend_string_equals_literal(p->func->common.function_name, "get_defined_vars"))) {
|
|| zend_string_equals_literal(p->func->common.function_name, "get_defined_vars"))) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue