[PATCH] vdpa/ifc/base: fix null pointer dereference
    Pei, Andy 
    andy.pei at intel.com
       
    Fri Jul  8 11:17:29 CEST 2022
    
    
  
Hi Maxime,
Thanks for your efforts.
> -----Original Message-----
> From: Maxime Coquelin <maxime.coquelin at redhat.com>
> Sent: Friday, July 8, 2022 5:11 PM
> To: Pei, Andy <andy.pei at intel.com>; dev at dpdk.org
> Cc: Xia, Chenbo <chenbo.xia at intel.com>; Wang, Xiao W
> <xiao.w.wang at intel.com>
> Subject: Re: [PATCH] vdpa/ifc/base: fix null pointer dereference
> 
> 
> 
> On 7/8/22 07:57, Andy Pei wrote:
> > Fix null pointer dereference reported in coverity scan.
> > Output some log information when lm_cfg is null.
> > Make lm_cfg is not null before operate on lm_cfg.
> >
> > Coverity issue: 378882
> > Fixes: d7fe5a2861e7 ("net/ifc: support live migration")
> >
> > Signed-off-by: Andy Pei <andy.pei at intel.com>
> > ---
> >   drivers/vdpa/ifc/base/ifcvf.c       | 31 ++++++++++++++++++++-----------
> >   drivers/vdpa/ifc/base/ifcvf_osdep.h |  1 +
> >   2 files changed, 21 insertions(+), 11 deletions(-)
> >
> 
> Applied to dpdk-next-virtio/main.
> 
> Thanks,
> Maxime
    
    
More information about the dev
mailing list