Re: [PATCH] bcachefs: Annotate struct bch_xattr with __counted_by()
From: Kent Overstreet
Date: Sat Aug 24 2024 - 13:59:49 EST
On Sat, Aug 24, 2024 at 03:57:41PM GMT, Thorsten Blum wrote:
> Add the __counted_by compiler attribute to the flexible array member
> x_name to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
> CONFIG_FORTIFY_SOURCE.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxxx>
Applied