[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202110212035.1680E1E@keescook>
Date: Thu, 21 Oct 2021 20:36:46 -0700
From: Kees Cook <keescook@...omium.org>
To: David Yang <davidcomponentone@...il.com>
Cc: Yang Guang <yang.guang5@....com.cn>,
Zeal Robot <zealci@....com.cn>, arnd@...db.de,
gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH lkdtm] lkdtm: Fix reference preceded by free
On Fri, Oct 22, 2021 at 09:38:59AM +0800, David Yang wrote:
> From: Yang Guang <yang.guang5@....com.cn>
> >
> > The coccinelle check report:
> > ./drivers/misc/lkdtm/heap.c:115:7-11:
> > ERROR: reference preceded by free on line 112
> > Moving the "kfree(base)" after using place to fix it.
> >
> > Reported-by: Zeal Robot <zealci@....com.cn>
> > Signed-off-by: Yang Guang <yang.guang5@....com.cn>
>
> Please ignore this patch. Thanks.
Heh, no worries. It's nice to know that the Coccinelle checks are
finding broken things, though! :) (It's just that LKDTM is intentionally
broken.) ;)
--
Kees Cook
Powered by blists - more mailing lists