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 explict loop range to suppress the warning. Signed-off-by: Jianxin Xiong <[email protected]>
- Loading branch information