Skip to content

Commit 061f90a

Browse files
committed
Merge branch 'PHP-8.5'
* PHP-8.5: Fix COMMUNITY_asan failure on src/Symfony/Component/HttpClient (php#22021)
2 parents c2d11de + 9e3e41f commit 061f90a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/opcache/jit/zend_jit_trace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8568,7 +8568,7 @@ int ZEND_FASTCALL zend_jit_trace_hot_side(zend_execute_data *execute_data, uint3
85688568
do {
85698569
ex = ex->prev_execute_data;
85708570
n++;
8571-
} while (ex && zend_jit_traces[root].op_array != &ex->func->op_array);
8571+
} while (ex && (!ex->func || zend_jit_traces[root].op_array != &ex->func->op_array));
85728572
if (ex && n <= ZEND_JIT_TRACE_MAX_RET_DEPTH) {
85738573
ret_depth = n;
85748574
}

0 commit comments

Comments
 (0)