com php-src: Fix bitset initialization: ext/opcache/Optimizer/z end_call_graph.c

From: Date: Thu, 07 Jan 2016 22:49:42 +0000
Subject: com php-src: Fix bitset initialization: ext/opcache/Optimizer/z end_call_graph.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-90579@lists.php.net to get a copy of this message
Commit: bb357e0617ecffcd28fd21adacc61cdd05dec38e Author: Nikita Popov <nikic@php.net> Thu, 7 Jan 2016 23:48:41 +0100 Parents: e885cd817c1e1b8b7f2f126c3ccbbb7d31f2534b Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bb357e0617ecffcd28fd21adacc61cdd05dec38e Log: Fix bitset initialization Changed paths: M ext/opcache/Optimizer/zend_call_graph.c Diff: diff --git a/ext/opcache/Optimizer/zend_call_graph.c b/ext/opcache/Optimizer/zend_call_graph.c index 8895bc5..6c1933c 100644 --- a/ext/opcache/Optimizer/zend_call_graph.c +++ b/ext/opcache/Optimizer/zend_call_graph.c @@ -251,7 +251,7 @@ static void zend_analyze_recursion(zend_call_graph *call_graph) call_info->recursive = 1; func_info->flags |= ZEND_FUNC_RECURSIVE | ZEND_FUNC_RECURSIVE_DIRECTLY; } 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)) { call_info->recursive = 1; func_info->flags |= ZEND_FUNC_RECURSIVE | ZEND_FUNC_RECURSIVE_INDIRECTLY;

« previous php.cvs (#90579) next »