numam-dpdk/app/test-compress-perf
Lavanya Govindarajan 4fba6df914 app/compress-perf: fix out-of-bounds read
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@dpdk.org

Signed-off-by: Lavanya Govindarajan <lavanyax.govindarajan@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2019-10-09 11:50:12 +02:00
..
comp_perf_options_parse.c app/compress-perf: fix out-of-bounds read 2019-10-09 11:50:12 +02:00
comp_perf_options.h app/compress-perf: fix out-of-bounds read 2019-10-09 11:50:12 +02:00
comp_perf_test_benchmark.c app/compress-perf: improve results report 2019-07-26 12:03:51 +02:00
comp_perf_test_benchmark.h app/compress-perf: add benchmark test case 2019-07-19 13:53:27 +02:00
comp_perf_test_common.c app/compress-perf: fix memory deallocation 2019-10-09 11:50:12 +02:00
comp_perf_test_common.h app/compress-perf: improve results report 2019-07-26 12:03:51 +02:00
comp_perf_test_verify.c app/compress-perf: prevent output buffer overflow 2019-07-26 14:50:40 +02:00
comp_perf_test_verify.h app/compress-perf: add verification test case 2019-07-19 13:53:27 +02:00
comp_perf.h app/compress-perf: add weak functions for multicore test 2019-07-19 13:53:27 +02:00
main.c app/compress-perf: fix out-of-bounds read 2019-10-09 11:50:12 +02:00
Makefile app/compress-perf: add benchmark test case 2019-07-19 13:53:27 +02:00
meson.build app/compress-perf: add benchmark test case 2019-07-19 13:53:27 +02:00