[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <171959031201.3280156.13125871408921524311.b4-ty@kernel.org>
Date: Fri, 28 Jun 2024 08:58:34 -0700
From: Kees Cook <kees@...nel.org>
To: Jiri Slaby <jirislaby@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Nathan Chancellor <nathan@...nel.org>
Cc: Kees Cook <kees@...nel.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
Bill Wendling <morbo@...gle.com>,
Justin Stitt <justinstitt@...gle.com>,
linux-serial@...r.kernel.org,
imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org,
linux-hardening@...r.kernel.org,
llvm@...ts.linux.dev,
patches@...ts.linux.dev,
stable@...r.kernel.org
Subject: Re: [PATCH] tty: mxser: Remove __counted_by from mxser_board.ports[]
On Wed, 29 May 2024 14:29:42 -0700, Nathan Chancellor wrote:
> Work for __counted_by on generic pointers in structures (not just
> flexible array members) has started landing in Clang 19 (current tip of
> tree). During the development of this feature, a restriction was added
> to __counted_by to prevent the flexible array member's element type from
> including a flexible array member itself such as:
>
> struct foo {
> int count;
> char buf[];
> };
>
> [...]
Applied to for-linus/hardening, thanks!
[1/1] tty: mxser: Remove __counted_by from mxser_board.ports[]
https://git.kernel.org/kees/c/1c07c9be87dd
Take care,
--
Kees Cook
Powered by blists - more mailing lists