[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174615275624.3072037.1477530485632091606.b4-ty@kernel.org>
Date: Thu, 1 May 2025 19:26:09 -0700
From: Kees Cook <kees@...nel.org>
To: "Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: Kees Cook <kees@...nel.org>,
linux-hardening@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3][next] overflow: Fix direct struct member initialization in _DEFINE_FLEX()
On Thu, 01 May 2025 18:44:43 -0600, Gustavo A. R. Silva wrote:
> Currently, to statically initialize the struct members of the `type`
> object created by _DEFINE_FLEX(), the internal `obj` member must be
> explicitly referenced at the call site. See:
>
> struct flex {
> int a;
> int b;
> struct foo flex_array[];
> };
>
> [...]
I've replaced the v2 and applied this to for-next/hardening, thanks!
[1/1] overflow: Fix direct struct member initialization in _DEFINE_FLEX()
https://git.kernel.org/kees/c/76cacf008235
Take care,
--
Kees Cook
Powered by blists - more mailing lists