[dpdk-dev] [PATCH] examples/l2fwd-crypto: fix incorrect stats array length

2016-07-11 Thread Thomas Monjalon
2016-06-28 09:28, Declan Doherty: > On 27/06/16 14:37, Pablo de Lara wrote: > > crypto_statistics array was not big enough for storing > > all the possible crypto device statistics, as its size was > > RTE_MAX_ETHPORTS, but should be RTE_CRYPTO_MAX_DEVS, leading > > this to a potential out-of-bound

[dpdk-dev] [PATCH] examples/l2fwd-crypto: fix incorrect stats array length

2016-06-28 Thread Declan Doherty
On 27/06/16 14:37, Pablo de Lara wrote: > crypto_statistics array was not big enough for storing > all the possible crypto device statistics, as its size was > RTE_MAX_ETHPORTS, but should be RTE_CRYPTO_MAX_DEVS, leading > this to a potential out-of-bounds issue. > > Coverity issue: 120145 > > Fixe

[dpdk-dev] [PATCH] examples/l2fwd-crypto: fix incorrect stats array length

2016-06-27 Thread Pablo de Lara
crypto_statistics array was not big enough for storing all the possible crypto device statistics, as its size was RTE_MAX_ETHPORTS, but should be RTE_CRYPTO_MAX_DEVS, leading this to a potential out-of-bounds issue. Coverity issue: 120145 Fixes: 387259bd6c67 ("examples/l2fwd-crypto: add sample ap