Re: [dpdk-dev] [PATCH] examples/exception_path: fix possible out-of-bounds read

2018-07-26 Thread Thomas Monjalon
16/07/2018 18:03, Bruce Richardson: > When printing out stats from the exception_path app, all possible > lcore_ids are iterated. However, the app only supports up to 64 cores. > To prevent possible errors, and to remove coverity warnings, > explicitly check for out-of-range lcore ids before printi

[dpdk-dev] [PATCH] examples/exception_path: fix possible out-of-bounds read

2018-07-16 Thread Bruce Richardson
When printing out stats from the exception_path app, all possible lcore_ids are iterated. However, the app only supports up to 64 cores. To prevent possible errors, and to remove coverity warnings, explicitly check for out-of-range lcore ids before printing. Coverity issue: 268335 Fixes: af75078fe