Re: [Nouveau] [PATCH] drm/nouveau/secboot/acr: fix memory leak

2018-09-14 Thread Ben Skeggs
On Fri, 14 Sep 2018 at 07:35, Kees Cook wrote: > > On Fri, Sep 7, 2018 at 8:02 PM, John Hubbard wrote: > > On 8/2/18 12:51 PM, Gustavo A. R. Silva wrote: > >> Hi all, > >> > >> Friendly ping! Who can take this? > >> > >> Thanks > >> -- > >> Gustavo > >> > >> On 07/24/2018 08:27 AM, Gustavo A. R.

Re: [PATCH] drm/nouveau/secboot/acr: fix memory leak

2018-09-14 Thread Kees Cook
On Fri, Sep 7, 2018 at 8:02 PM, John Hubbard wrote: > On 8/2/18 12:51 PM, Gustavo A. R. Silva wrote: >> Hi all, >> >> Friendly ping! Who can take this? >> >> Thanks >> -- >> Gustavo >> >> On 07/24/2018 08:27 AM, Gustavo A. R. Silva wrote: >>> In case memory resources for *bl_desc* were allocated,

Re: [PATCH] drm/nouveau/secboot/acr: fix memory leak

2018-09-10 Thread John Hubbard
On 8/2/18 12:51 PM, Gustavo A. R. Silva wrote: > Hi all, > > Friendly ping! Who can take this? > > Thanks > -- > Gustavo > > On 07/24/2018 08:27 AM, Gustavo A. R. Silva wrote: >> In case memory resources for *bl_desc* were allocated, release >> them before return. >> >> Addresses-Coverity-ID: 14

Re: [PATCH] drm/nouveau/secboot/acr: fix memory leak

2018-08-03 Thread Gustavo A. R. Silva
Hi all, Friendly ping! Who can take this? Thanks -- Gustavo On 07/24/2018 08:27 AM, Gustavo A. R. Silva wrote: > In case memory resources for *bl_desc* were allocated, release > them before return. > > Addresses-Coverity-ID: 1472021 ("Resource leak") > Fixes: 0d466901552a ("drm/nouveau/secboot/

[PATCH] drm/nouveau/secboot/acr: fix memory leak

2018-07-25 Thread Gustavo A. R. Silva
In case memory resources for *bl_desc* were allocated, release them before return. Addresses-Coverity-ID: 1472021 ("Resource leak") Fixes: 0d466901552a ("drm/nouveau/secboot/acr: Remove VLA usage") Signed-off-by: Gustavo A. R. Silva --- drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c | 1