Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util/pingpong: Fix coverity issue about integer overflow
The calculation of `power_of_two` would overflow when `i` reaches 32. Based on the size of allocated array `sizes`, `i` should be less than 32. Add explicit loop limit to suppress the warning. Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
- Loading branch information