Re: [PATCH RESEND] crypto: af_alg - Annotate struct af_alg_iv with __counted_by
From: Kees Cook
Date: Mon Jan 12 2026 - 17:30:11 EST
On Mon, 05 Jan 2026 13:24:03 +0100, Thorsten Blum wrote:
> Add the __counted_by() compiler attribute to the flexible array member
> 'iv' to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
> CONFIG_FORTIFY_SOURCE.
>
>
Applied to for-next/hardening, thanks!
[1/1] crypto: af_alg - Annotate struct af_alg_iv with __counted_by
https://git.kernel.org/kees/c/98569017111e
Take care,
--
Kees Cook