Commit 9a930484 authored by Kees Cook's avatar Kees Cook
Browse files

overflow: Clarify expectations for getting DEFINE_FLEX variable sizes



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.

Reviewed-by: default avatarGustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20250416172911.work.854-kees@kernel.org


Signed-off-by: default avatarKees Cook <kees@kernel.org>
parent a510c186
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment