diff options
author | Tasos Sahanidis <tasos@tasossah.com> | 2025-03-12 06:08:32 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2025-03-17 14:44:20 +0300 |
commit | 815f80ad20b63830949a77c816e35395d5d55144 (patch) | |
tree | 52522bbbf9a8e722a65a082c77334ed930cf4135 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 53df59ddaadfa88afd0b1a097777a36eec09603b (diff) | |
download | linux-815f80ad20b63830949a77c816e35395d5d55144.tar.xz |
hwmon: (nct6775-core) Fix out of bounds access for NCT679{8,9}
pwm_num is set to 7 for these chips, but NCT6776_REG_PWM_MODE and
NCT6776_PWM_MODE_MASK only contain 6 values.
Fix this by adding another 0 to the end of each array.
Signed-off-by: Tasos Sahanidis <tasos@tasossah.com>
Link: https://lore.kernel.org/r/20250312030832.106475-1-tasos@tasossah.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions