Re: [PATCH] acpi: Replace struct acpi_table_slit 1-element array with flex-array
From: Kees Cook
Date: Tue May 23 2023 - 12:44:34 EST
On Tue, May 23, 2023 at 04:18:15PM +0000, Wyes Karny wrote:
> struct acpi_table_slit is used for copying System Locality Information
> Table data from ACPI tables. Here `entry` is a flex array but it was
> using ancient 1-element fake flexible array, which has been deprecated.
> Replace it with a C99 flexible array.
>
> Signed-off-by: Wyes Karny <wyes.karny@xxxxxxx>
Eek, thanks. I missed one! :)
Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>
--
Kees Cook