[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172437099981.4120913.7515639803730422686.b4-ty@kernel.org>
Date: Thu, 22 Aug 2024 16:58:53 -0700
From: Kees Cook <kees@...nel.org>
To: Hans de Goede <hdegoede@...hat.com>,
Kees Cook <kees@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
linux-hardening@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] virt: vbox: struct vmmdev_hgcm_pagelist: Replace 1-element array with flexible array
On Wed, 10 Jul 2024 16:15:55 -0700, Kees Cook wrote:
> Replace the deprecated[1] use of a 1-element array in
> struct vmmdev_hgcm_pagelist with a modern flexible array. As this is
> UAPI, we cannot trivially change the size of the struct, so use a union
> to retain the old first element's size, but switch "pages" to a flexible
> array.
>
> No binary differences are present after this conversion.
>
> [...]
Applied to for-next/hardening, thanks!
[1/1] virt: vbox: struct vmmdev_hgcm_pagelist: Replace 1-element array with flexible array
https://git.kernel.org/kees/c/5ac86f0ed04b
Take care,
--
Kees Cook
Powered by blists - more mailing lists