aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorYuanzheng Song <[email protected]>2021-10-15 08:32:30 +0000
committerDaniel Lezcano <[email protected]>2021-10-15 13:58:36 +0200
commit1dd7128b839f631b31a9e9dce3aaf639bef74e9d (patch)
treeefc4dbae3cb78bec79e18635c03a6515a95ab9d1 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parentc3131bd5586d3e8b67dc69516e1734a7a03e19d7 (diff)
thermal/core: Fix null pointer dereference in thermal_release()
If both dev_set_name() and device_register() failed, then null pointer dereference occurs in thermal_release() which will use strncmp() to compare the name. So fix it by adding dev_set_name() return value check. Signed-off-by: Yuanzheng Song <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions