[dpdk-dev] [PATCH] net/ipn3ke: fix null pointer dereference

Zhang, Qi Z qi.z.zhang at intel.com
Tue Jun 18 15:32:34 CEST 2019



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Xu, Rosen
> Sent: Thursday, May 23, 2019 1:20 PM
> To: Pei, Andy <andy.pei at intel.com>; dev at dpdk.org
> Cc: stable at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] net/ipn3ke: fix null pointer dereference
> 
> 
> 
> > -----Original Message-----
> > From: Pei, Andy
> > Sent: Thursday, May 23, 2019 12:31
> > To: dev at dpdk.org
> > Cc: Pei, Andy <andy.pei at intel.com>; Xu, Rosen <rosen.xu at intel.com>;
> > stable at dpdk.org
> > Subject: [PATCH] net/ipn3ke: fix null pointer dereference
> >
> > In current code, scenario may happens that when function
> > ipn3ke_hw_tm_node_wr is called, struct ipn3ke_tm_node n has a NULL
> > element parent_node, however, the element parent_node of struct
> > ipn3ke_tm_node n is used in an invalid way.
> > After applying this patch,
> > this null pointer dereference is avoided.
> >
> > Coverity issue: 337921
> > Fixes: c820468ac99c ("net/ipn3ke: support TM")
> > Cc: rosen.xu at intel.com
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Andy Pei <andy.pei at intel.com>
> > ---
> Acked-by: Rosen Xu <rosen.xu at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


More information about the dev mailing list