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

2017-02-09 Thread De Lara Guarch, Pablo
c: dev@dpdk.org; Gajewski, AleksanderX > > Subject: [dpdk-dev] [PATCH] app/test-crypto-perf: fix buffer not null > > terminated > > > > Fix problem: the string buffer may not have a null terminator if > > the source string's length is equal to the buffer si

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

2017-02-09 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Aleksander > Gajewski > Sent: Tuesday, February 07, 2017 9:20 AM > To: Doherty, Declan > Cc: dev@dpdk.org; Gajewski, AleksanderX > Subject: [dpdk-dev] [PATCH] app/test-crypto-perf

[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/test-crypto-perf/cperf_optio