[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240812113102.GG25962@twin.jikos.cz>
Date: Mon, 12 Aug 2024 13:31:02 +0200
From: David Sterba <dsterba@...e.cz>
To: Thorsten Blum <thorsten.blum@...lux.com>
Cc: clm@...com, josef@...icpanda.com, dsterba@...e.com, kees@...nel.org,
gustavoars@...nel.org, linux-btrfs@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH] btrfs: Annotate structs with __counted_by()
On Mon, Aug 12, 2024 at 12:36:20PM +0200, Thorsten Blum wrote:
> Add the __counted_by compiler attribute to the flexible array member
> stripes to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
> CONFIG_FORTIFY_SOURCE.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@...lux.com>
Reviewed-by: David Sterba <dsterba@...e.com>
Powered by blists - more mailing lists