[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202006151123.3C2CB7782@keescook>
Date: Mon, 15 Jun 2020 11:23:23 -0700
From: Kees Cook <keescook@...omium.org>
To: Denis Efremov <efremov@...ux.com>
Cc: Julia Lawall <Julia.Lawall@...6.fr>, cocci@...teme.lip6.fr,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] coccinelle: misc: add array_size_dup script to detect
missed overlow checks
On Mon, Jun 15, 2020 at 01:20:45PM +0300, Denis Efremov wrote:
> Detect an opencoded expression that is used before or after
> array_size()/array3_size()/struct_size() to compute the same size.
>
> Cc: Kees Cook <keescook@...omium.org>
> Signed-off-by: Denis Efremov <efremov@...ux.com>
Oh, very cool! How much does this find currently?
--
Kees Cook
Powered by blists - more mailing lists