summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2024-07-09 17:38:51 +0300
committerHans de Goede <hdegoede@redhat.com>2024-07-10 17:12:12 +0300
commitb6e02c6b0377d4339986e07aeb696c632cd392aa (patch)
tree2dd3425e36ce12f14b121333a64a1e95d68bfd3b /Kbuild
parente527a6127223b644e0a27b44f4b16e16eb6c7f0a (diff)
downloadlinux-b6e02c6b0377d4339986e07aeb696c632cd392aa.tar.xz
platform/x86: toshiba_acpi: Fix array out-of-bounds access
In order to use toshiba_dmi_quirks[] together with the standard DMI matching functions, it must be terminated by a empty entry. Since this entry is missing, an array out-of-bounds access occurs every time the quirk list is processed. Fix this by adding the terminating empty entry. Reported-by: kernel test robot <oliver.sang@intel.com> Closes: https://lore.kernel.org/oe-lkp/202407091536.8b116b3d-lkp@intel.com Fixes: 3cb1f40dfdc3 ("drivers/platform: toshiba_acpi: Call HCI_PANEL_POWER_ON on resume on some models") Cc: stable@vger.kernel.org Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://lore.kernel.org/r/20240709143851.10097-1-W_Armin@gmx.de Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions