On Fri, 18 Feb 2022 15:18:41 +
Reshma Pattan wrote:
> lcore_id = rte_get_next_lcore(lcore_id, 1, 0);
> + if (lcore_id == RTE_MAX_LCORE) {
> + printf("Invalid core %u for the packet capture!\n", lcore_id);
> + return;
> + }
Since nothing useful can be don
Check lcore id value is not the maximum core supported.
Using lcore id without this check might cause
out of bound access inside the rte_eal_wait_lcore.
Coverity issue: 375841
Fixes: b2854d5317e8 ("app/pdump: support multi-core capture")
Cc: vipin.vargh...@intel.com
Cc: sta...@dpdk.org
Signed-off
2 matches
Mail list logo