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

From: Kees Cook

Date: Tue Jan 13 2026 - 14:53:20 EST


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