Re: [PATCH] smb: Annotate struct xattr_smb_acl with __counted_by()
From: Namjae Jeon
Date: Sat Aug 24 2024 - 10:12:00 EST
On Fri, Aug 23, 2024 at 8:48 PM Thorsten Blum <thorsten.blum@xxxxxxxxxx> wrote:
>
> Add the __counted_by compiler attribute to the flexible array member
> entries to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
> CONFIG_FORTIFY_SOURCE.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxxx>
Applied it to #ksmbd-for-next-next.
Thanks!