[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z1P94CdlCAzDc3d3@liuwe-devbox-debian-v2>
Date: Sat, 7 Dec 2024 07:48:48 +0000
From: Wei Liu <wei.liu@...nel.org>
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: "K. Y. Srinivasan" <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Wei Liu <wei.liu@...nel.org>, Dexuan Cui <decui@...rosoft.com>,
Kees Cook <kees@...nel.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
linux-hyperv@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH] hv: hyperv.h: Annotate vmbus_channel_gpadl_header with
__counted_by()
On Tue, Oct 15, 2024 at 12:18:29PM +0200, Thorsten Blum wrote:
> Add the __counted_by compiler attribute to the flexible array member
> range to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
> CONFIG_FORTIFY_SOURCE.
>
> Compile-tested only.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
Applied to hyperv-fixes. Thanks.
Powered by blists - more mailing lists