aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAleksandr Mishin <[email protected]>2024-04-11 14:40:21 +0300
committerDaniel Lezcano <[email protected]>2024-04-23 12:40:29 +0200
commitd998ddc86a27c92140b9f7984ff41e3d1d07a48f (patch)
treef227334e1efe30c1ef65e24bf34ddcb6a24bd00c /tools/perf/scripts/python/export-to-postgresql.py
parent7954c92ede882b0dfd52a5db90291a4151b44c1a (diff)
thermal/drivers/tsens: Fix null pointer dereference
compute_intercept_slope() is called from calibrate_8960() (in tsens-8960.c) as compute_intercept_slope(priv, p1, NULL, ONE_PT_CALIB) which lead to null pointer dereference (if DEBUG or DYNAMIC_DEBUG set). Fix this bug by adding null pointer check. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: dfc1193d4dbd ("thermal/drivers/tsens: Replace custom 8960 apis with generic apis") Signed-off-by: Aleksandr Mishin <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions