Re: [PATCH] ecryptfs: Annotate struct ecryptfs_message with __counted_by

Kees Cook
2026-01-13T19:53:20Z

On Mon, 12 Jan 2026 12:53:11 +0100, Thorsten Blum wrote:
> Add the __counted_by() compiler attribute to the flexible array member
> 'data' to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
> CONFIG_FORTIFY_SOURCE.
>
>

Applied to for-next/hardening, thanks!

[1/1] ecryptfs: Annotate struct ecryptfs_message with __counted_by
https://git.kernel.org/kees/c/574d944d2ff3

Take care,

--
Kees Cook