[dpdk-dev] [PATCH v2] app/test-crypto-perf: fix uninitialized scalar variable

2017-02-10 Thread Aleksander Gajewski
: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Signed-off-by: Aleksander Gajewski --- v2: * When nb_cryptodevs is negative after cperf_initialize_cryptodev() assign 0 value to it. --- app/test-crypto-perf/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[dpdk-dev] [PATCH] app/test-crypto-perf: fix uninitialized scalar variable

2017-02-07 Thread Aleksander Gajewski
ned-off-by: Aleksander Gajewski --- app/test-crypto-perf/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c index 6c128d8..035021a 100644 --- a/app/test-crypto-perf/main.c +++ b/app/test-crypto-perf/main.c @@ -26

[dpdk-dev] [PATCH] app/test-crypto-perf: fix buffer not null terminated

2017-02-07 Thread Aleksander Gajewski
Fix problem: the string buffer may not have a null terminator if the source string's length is equal to the buffer size. Coverity issue: 141069 Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Signed-off-by: Aleksander Gajewski --- app/t