[dpdk-dev] [dpdk-stable] [PATCH] security: fix segfault when destroy NULL session

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Thu Jul 5 18:14:10 CEST 2018



> -----Original Message-----
> From: stable [mailto:stable-bounces at dpdk.org] On Behalf Of Akhil Goyal
> Sent: Thursday, July 5, 2018 11:52 AM
> To: Nicolau, Radu <radu.nicolau at intel.com>; dev at dpdk.org
> Cc: borisp at mellanox.com; Doherty, Declan <declan.doherty at intel.com>;
> stable at dpdk.org
> Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] security: fix segfault when
> destroy NULL session
> 
> 
> On 7/5/2018 3:34 PM, Radu Nicolau wrote:
> 
> > rte_security_session_destroy should return -EINVAL is session is NULL,
> > but segfaults because of rte_mempool_from_obj(NULL) call.
> >
> > Fixes: c261d1431bd8 ("security: introduce security API and framework")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Radu Nicolau <radu.nicolau at intel.com>
> > ---
> 
> Acked-by: Akhil Goyal <akhil.goyal at nxp.com>

Applied to dpdk-next-crypto.
Thanks,

Pablo


More information about the dev mailing list