mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Fix bitset initialization
This commit is contained in:
parent
e885cd817c
commit
bb357e0617
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ static void zend_analyze_recursion(zend_call_graph *call_graph)
|
||||||
call_info->recursive = 1;
|
call_info->recursive = 1;
|
||||||
func_info->flags |= ZEND_FUNC_RECURSIVE | ZEND_FUNC_RECURSIVE_DIRECTLY;
|
func_info->flags |= ZEND_FUNC_RECURSIVE | ZEND_FUNC_RECURSIVE_DIRECTLY;
|
||||||
} else {
|
} else {
|
||||||
memset(visited, 0, sizeof(uint32_t) * set_len);
|
memset(visited, 0, sizeof(zend_ulong) * set_len);
|
||||||
if (zend_is_indirectly_recursive(op_array, call_info->caller_op_array, visited)) {
|
if (zend_is_indirectly_recursive(op_array, call_info->caller_op_array, visited)) {
|
||||||
call_info->recursive = 1;
|
call_info->recursive = 1;
|
||||||
func_info->flags |= ZEND_FUNC_RECURSIVE | ZEND_FUNC_RECURSIVE_INDIRECTLY;
|
func_info->flags |= ZEND_FUNC_RECURSIVE | ZEND_FUNC_RECURSIVE_INDIRECTLY;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue