[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202411162106.83A44BB6@keescook>
Date: Sat, 16 Nov 2024 21:06:54 -0800
From: Kees Cook <kees@...nel.org>
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>,
Xin Long <lucien.xin@...il.com>, linux-hardening@...r.kernel.org,
linux-sctp@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sctp: Replace zero-length array with flexible array
member
On Sat, Nov 16, 2024 at 05:28:24PM +0100, Thorsten Blum wrote:
> Replace the deprecated zero-length array with a modern flexible array
> member in the struct sctp_idatahdr.
>
> Link: https://github.com/KSPP/linux/issues/78
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
Nothing actually uses "payload" so it could probably just be entirely
removed, but yes, this looks like a no-op change.
Reviewed-by: Kees Cook <kees@...nel.org>
--
Kees Cook
Powered by blists - more mailing lists