Re: [PATCH] firmware: dmi: Check DMI structure length
From: Mika Westerberg
Date: Thu Jun 01 2017 - 10:00:33 EST
On Thu, Jun 01, 2017 at 03:08:39PM +0200, Jean Delvare wrote:
> Before accessing DMI data to record it for later, we should ensure
> that the DMI structures are large enough to contain the data in
> question.
>
> Signed-off-by: Jean Delvare <jdelvare@xxxxxxx>
> Cc: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> Cc: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
Thanks for taking care of this!
Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>