Thread (17 messages) 17 messages, 6 authors, 2024-06-28

Re: [PATCH] tty: mxser: Remove __counted_by from mxser_board.ports[]

From: Kees Cook <kees@kernel.org>
Date: 2024-06-28 15:58:42
Also in: imx, linux-hardening, linux-patches, linux-serial, llvm, stable

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help