Re: [PATCH] tools/bootconfig: fix resource leak in apply_xbc()

From: Steven Rostedt
Date: Thu May 07 2020 - 14:16:20 EST


On Fri, 8 May 2020 00:58:05 +0900
Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> On Fri, 8 May 2020 00:56:47 +0900
> Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
>
> > On Thu, 7 May 2020 17:23:36 +0800
> > Yunfeng Ye <yeyunfeng@xxxxxxxxxx> wrote:
> >
> > > The @data and @fd is leak in the error path of apply_xbc(), so this
> > > patch fix it.
> >
> > Good catch! Thanks for fixing!
> >
> > Acked-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
> >
>
> Hi Steve, can you pick this up?

Yeah. I can add it to my 'for-linus' queue. As it's just part of the tools
directory, I can skip the full testing I run on my patches.

-- Steve