numam-dpdk/app/test-crypto-perf
Min Hu (Connor) 37c0359bc5 app/crypto-perf: check memory allocation
Return value of a function 'rte_zmalloc' is dereferenced without
checking, and it may call segmentation fault.

This patch fixed it.

Fixes: f8be1786b1 ("app/crypto-perf: introduce performance test application")
Cc: stable@dpdk.org

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
2021-05-12 18:14:19 +02:00
..
configs app/crypto-perf: add script to graph perf results 2021-01-27 19:03:52 +01:00
data cryptodev: add auth IV 2017-07-06 22:26:48 +02:00
cperf_ops.c build: replace use of old build macros 2020-10-19 22:15:44 +02:00
cperf_ops.h app/crypto-perf: use separate session mempools 2019-01-10 16:57:22 +01:00
cperf_options_parsing.c app/crypto-perf: check memory allocation 2021-05-12 18:14:19 +02:00
cperf_options.h build: replace use of old build macros 2020-10-19 22:15:44 +02:00
cperf_test_common.c replace unused attributes 2020-04-16 18:30:58 +02:00
cperf_test_common.h app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cperf_test_latency.c app/crypto-perf: fix CSV output format 2021-01-27 19:03:52 +01:00
cperf_test_latency.h app/crypto-perf: use separate session mempools 2019-01-10 16:57:22 +01:00
cperf_test_pmd_cyclecount.c app/crypto-perf: fix CSV output format 2021-01-27 19:03:52 +01:00
cperf_test_pmd_cyclecount.h app/crypto-perf: use separate session mempools 2019-01-10 16:57:22 +01:00
cperf_test_throughput.c app/crypto-perf: fix CSV output format 2021-01-27 19:03:52 +01:00
cperf_test_throughput.h app/crypto-perf: use separate session mempools 2019-01-10 16:57:22 +01:00
cperf_test_vector_parsing.c build/freebsd: rename macro BSDPAPP to FREEBSD 2019-03-12 23:01:14 +01:00
cperf_test_vector_parsing.h app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cperf_test_vectors.c test/crypto-perf: support DOCSIS protocol 2020-07-08 18:16:16 +02:00
cperf_test_vectors.h app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cperf_test_verify.c app/crypto-perf: fix CSV output format 2021-01-27 19:03:52 +01:00
cperf_test_verify.h app/crypto-perf: use separate session mempools 2019-01-10 16:57:22 +01:00
cperf.h app/crypto-perf: use separate session mempools 2019-01-10 16:57:22 +01:00
dpdk-graph-crypto-perf.py app/crypto-perf: fix handling of config parameters 2021-02-04 19:21:27 +01:00
main.c app/crypto-perf: close device after benchmark run 2021-04-16 12:43:33 +02:00
meson.build app: reduce indentation in build files 2021-04-21 14:04:09 +02:00