Skip to content

Commit 9aa0e39

Browse files
committed
Fix COMMUNITY_asan failure on src/Symfony/Component/HttpClient
1 parent e88e049 commit 9aa0e39

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
@@ -8479,7 +8479,7 @@ int ZEND_FASTCALL zend_jit_trace_hot_side(zend_execute_data *execute_data, uint3
84798479
do {
84808480
ex = ex->prev_execute_data;
84818481
n++;
8482-
} while (ex && zend_jit_traces[root].op_array != &ex->func->op_array);
8482+
} while (ex && (!ex->func || zend_jit_traces[root].op_array != &ex->func->op_array));
84838483
if (ex && n <= ZEND_JIT_TRACE_MAX_RET_DEPTH) {
84848484
ret_depth = n;
84858485
}

0 commit comments

Comments
 (0)