Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app/testpmd: avoid potential outside of array reference
[ upstream commit f86085c ] The order of comparison is wrong, and potentially allows referencing past the array. Link: https://pvs-studio.com/en/blog/posts/cpp/1179/ Fixes: 3e3edab ("ethdev: add flow quota") Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Chengwen Feng <[email protected]>
- Loading branch information