Re: [v3] tools/bootconfig: fix resource leak in apply_xbc()
From: Steven Rostedt
Date: Fri May 08 2020 - 09:00:59 EST
On Fri, 8 May 2020 19:42:56 +0800
Yunfeng Ye <yeyunfeng@xxxxxxxxxx> wrote:
> On 2020/5/8 19:30, Markus Elfring wrote:
> >> this change can fix the warning of tools.
> >
> > Would you like to point any specific source code analysis tools out
> > for this issue?
> > (Can a corresponding attribution become relevant for a clearer
> > change description?)
> >
> The tools we used is not for open source. it point out some error description like
> "Memory leak: data" and "Resource leak: fd" in tools/bootconfig/main.c.
>
> Can I only description:
> "Memory and resource leak is found by a static code analysis tools" ? thanks.
Markus please stop! Your suggestions are just your preferences that are not
required for the kernel.
Yunfeng, your v2 was fine and has already landed in Linus's tree. Feel free
to ignore Markus's suggestions in the future.
See commit 8842604446d1f005abcbf8c63c12eabdb5695094
-- Steve