numam-dpdk/app/test-crypto-perf
Slawomir Mrozowicz 559ef9201a app/crypto-perf: fix null dereference
Dereferencing a pointer that might be null key_token when calling strstr.
Check if the pointer is null before.

Coverity issue: 141071
Fixes: f8be1786b1 ("app/crypto-perf: introduce performance test application")

Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2017-02-10 16:06:04 +01:00
..
data app/crypto-perf: add test vectors files 2017-01-30 17:46:36 +01:00
cperf_ops.c app/crypto-perf: introduce performance test application 2017-01-30 17:46:36 +01:00
cperf_ops.h app/crypto-perf: introduce performance test application 2017-01-30 17:46:36 +01:00
cperf_options_parsing.c app/crypto-perf: add options parsing check 2017-02-10 16:02:50 +01:00
cperf_options.h app/crypto-perf: introduce performance test application 2017-01-30 17:46:36 +01:00
cperf_test_latency.c app/crypto-perf: introduce performance test application 2017-01-30 17:46:36 +01:00
cperf_test_latency.h app/crypto-perf: introduce performance test application 2017-01-30 17:46:36 +01:00
cperf_test_throughput.c app/crypto-perf: introduce performance test application 2017-01-30 17:46:36 +01:00
cperf_test_throughput.h app/crypto-perf: introduce performance test application 2017-01-30 17:46:36 +01:00
cperf_test_vector_parsing.c app/crypto-perf: fix null dereference 2017-02-10 16:06:04 +01:00
cperf_test_vector_parsing.h app/crypto-perf: introduce performance test application 2017-01-30 17:46:36 +01:00
cperf_test_vectors.c app/crypto-perf: fix crash for wireless algorithms 2017-02-10 16:05:35 +01:00
cperf_test_vectors.h app/crypto-perf: introduce performance test application 2017-01-30 17:46:36 +01:00
cperf_verify_parser.c app/crypto-perf: introduce performance test application 2017-01-30 17:46:36 +01:00
cperf.h app/crypto-perf: introduce performance test application 2017-01-30 17:46:36 +01:00
main.c app/crypto-perf: fix size of expression 2017-02-10 16:06:04 +01:00
Makefile app/crypto-perf: introduce performance test application 2017-01-30 17:46:36 +01:00