diff options
author | Guenter Roeck <[email protected]> | 2024-02-21 06:01:20 -0800 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2024-02-21 13:56:33 -0800 |
commit | d56e460e19ea8382f813eb489730248ec8d7eb73 (patch) | |
tree | 92f27ee9b80ccb0887039b58973e6828e25e2271 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 841c35169323cd833294798e58b9bf63fa4fa1de (diff) |
hwmon: (nct6775) Fix access to temperature configuration registers
The number of temperature configuration registers does
not always match the total number of temperature registers.
This can result in access errors reported if KASAN is enabled.
BUG: KASAN: global-out-of-bounds in nct6775_probe+0x5654/0x6fe9 nct6775_core
Reported-by: Erhard Furtner <[email protected]>
Closes: https://lore.kernel.org/linux-hwmon/[email protected]/
Fixes: b7f1f7b2523a ("hwmon: (nct6775) Additional TEMP registers for nct6799")
Cc: Ahmad Khalifa <[email protected]>
Tested-by: Ahmad Khalifa <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions