[dpdk-dev] [PATCH] app/test-compress-perf: fix out-of-bounds read

Akhil Goyal akhil.goyal at nxp.com
Fri Sep 27 16:15:26 CEST 2019


> One issue caught by Coverity 344984
> *overrun-local: Overrunning array cperf_test_type_strs of 2 8-byte elements
> 
> The array cperf_test_type_strs defined in app/test-compress-perf conflicts
> with the same name being defined in app/test-crypto-perf. Due to which
> coverity reports error.
> 
> The fix is to rename "cperf_test_type_strs" into "comp_perf_test_type_strs"
> in app/test-compress-perf to avoid name confusion.
> 
> Coverity issue: 344984
> Fixes: 424dd6c8c1 ("app/compress-perf: add weak functions for multicore test")
> Fixes: 1a9b0f3504 ("app/compress-perf: add --ptest option")
> Fixes: 424dd6c8c1 ("app/compress-perf: add weak functions for multicore test")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Lavanya Govindarajan <lavanyax.govindarajan at intel.com>
> ---
Acked-by: Akhil Goyal <akhil.goyal at nxp.com>

Applied to dpdk-next-crypto

Thanks.


More information about the dev mailing list