> -----Original Message----- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of De Lara Guarch, > Pablo > Sent: Friday, February 10, 2017 9:47 AM > To: Gajewski, AleksanderX; Doherty, Declan > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] app/test-crypto-perf: fix uninitialized > scalar variable > > > > > -----Original Message----- > > From: Gajewski, AleksanderX > > Sent: Friday, February 10, 2017 9:23 AM > > To: Doherty, Declan > > Cc: dev@dpdk.org; De Lara Guarch, Pablo; Gajewski, AleksanderX > > Subject: [PATCH v2] app/test-crypto-perf: fix uninitialized scalar variable > > > > Fix problem with uninitialized nb_cryptodevs variable by > > initialize it with 0 value. Program could jump to err label > > without running cperf_initialize_cryptodev() function. Also assign 0 > > value to nb_cryptodevs after cperf_initialize_cryptodev() when value is > > negative. > > > > Coverity issue: 141073 > > Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test > > application") > > > > Signed-off-by: Aleksander Gajewski <aleksanderx.gajew...@intel.com> > > Acked-by: Pablo de Lara <pablo.de.lara.gua...@intel.com>
Applied to dpdk-next-crypto. Thanks, Pablo