aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-11-30 13:50:34 +0300
committerGuenter Roeck <linux@roeck-us.net>2021-12-26 15:02:06 -0800
commit34e2bd10ab6005d2967c2f203fea664fd44d0b0f (patch)
treeb04fd74f5b1dcea2fd99be33e53f63e2781e4e68 /tools/perf/scripts/python/export-to-sqlite.py
parent62cfc0576393e57a4c5622a08b6c4ba20fe5f880 (diff)
hwmon: (asus_wmi_ec_sensors) fix array overflow
Smatch detected an array out of bounds error: drivers/hwmon/asus_wmi_ec_sensors.c:562 asus_wmi_ec_configure_sensor_setup() error: buffer overflow 'hwmon_attributes' 8 <= 9 The hwmon_attributes[] array needs to be declared with "hwmon_max" elements. Fixes: c04c7f7bfcbe ("hwmon: (asus_wmi_ec_sensors) Support B550 Asus WMI.") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20211130105034.GG5827@kili Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions