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
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") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Chengwen Feng <fengchengwen@huawei.com>
- Loading branch information