[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230601151500.b9937b28946c38ef186c1ce5@linux-foundation.org>
Date: Thu, 1 Jun 2023 15:15:00 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Kees Cook <keescook@...omium.org>
Cc: Andy Whitcroft <apw@...onical.com>,
Dwaipayan Ray <dwaipayanray1@...il.com>,
Lukas Bulwahn <lukas.bulwahn@...il.com>,
Joe Perches <joe@...ches.com>,
"Gustavo A . R . Silva" <gustavoars@...nel.org>,
linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH v5] checkpatch: Check for 0-length and 1-element arrays
On Thu, 1 Jun 2023 09:07:46 -0700 Kees Cook <keescook@...omium.org> wrote:
> Fake flexible arrays have been deprecated since last millennium. Proper
> C99 flexible arrays must be used throughout the kernel so
> CONFIG_FORTIFY_SOURCE and CONFIG_UBSAN_BOUNDS can provide proper array
> bounds checking.
>
> Cc: Andy Whitcroft <apw@...onical.com>
> Cc: Dwaipayan Ray <dwaipayanray1@...il.com>
> Cc: Lukas Bulwahn <lukas.bulwahn@...il.com>
> Fixed-by: Joe Perches <joe@...ches.com>
You didn't checkpatch your checkpatch patch!
WARNING: Non-standard signature: Fixed-by:
#248:
Fixed-by: Joe Perches <joe@...ches.com>
I'll do my usual
[joe@...ches.com: handle __packed for srtucts]
Powered by blists - more mailing lists