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

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Jul 11 17:05:11 CEST 2016


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-bounds issue.
> >
> > Coverity issue: 120145
> >
> > Fixes: 387259bd6c67 ("examples/l2fwd-crypto: add sample application")
> >
> > Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
>
> Acked-by: Declan Doherty <declan.doherty at intel.com>

Slawomir sent the same fix, so kind of applied :)


More information about the dev mailing list