Re: [PATCH] overflow: Clarify expectations for getting DEFINE_FLEX variable sizes

From: Kees Cook
Date: Wed Apr 16 2025 - 15:30:20 EST


On Wed, 16 Apr 2025 10:29:15 -0700, Kees Cook wrote:
> Mention the use of __member_size() for DEFINE_FLEX variables as a hint
> for getting at the compile-time size of the resulting flexible array
> member.
>
>

Applied to for-next/hardening, thanks!

[1/1] overflow: Clarify expectations for getting DEFINE_FLEX variable sizes
https://git.kernel.org/kees/c/2122b4571745

Take care,

--
Kees Cook