> > >
> > > The release function was using qp->stream after already releasing it and
> > > the
> > > null pointer checking was missing.
> > >
> > > Also since rte_free(NULL) is a no-op, remove unnecessary checks for NULL.
> > >
> > > Coverity issure: 340860
> > > Fixes: dc49e6aa4879 ("compress/isa
> -Original Message-
> From: Daly, Lee
> Sent: Tuesday, May 21, 2019 4:08 PM
> To: Stephen Hemminger
> Cc: dev@dpdk.org; Trahe, Fiona
> Subject: RE: [PATCH] compress/isal: fix use after free
>
> Hi Stephen,
> Thanks for the patch.
>
> > -Original Message-
> > From: Stephen He
Hi Stephen,
Thanks for the patch.
> -Original Message-
> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Tuesday, May 21, 2019 3:47 PM
> To: Daly, Lee
> Cc: dev@dpdk.org; Stephen Hemminger
> Subject: [PATCH] compress/isal: fix use after free
>
> The release function
The release function was using qp->stream after already
releasing it and the null pointer checking was missing.
Also since rte_free(NULL) is a no-op, remove unnecessary
checks for NULL.
Coverity issure: 340860
Fixes: dc49e6aa4879 ("compress/isal: add ISA-L compression functionality")
Signed-off-b
4 matches
Mail list logo