aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorNatalia Petrova <[email protected]>2023-01-11 12:04:09 +0000
committerSteven Rostedt (Google) <[email protected]>2023-01-24 23:19:36 +0000
commit8b152e9150d07a885f95e1fd401fc81af202d9a4 (patch)
tree5787b6475acc7debb27187745182b92f7567a825 /tools/perf/scripts/python/check-perf-trace.py
parenttracing/osnoise: Use built-in RCU list checking (diff)
downloadkernel-8b152e9150d07a885f95e1fd401fc81af202d9a4.tar.gz
kernel-8b152e9150d07a885f95e1fd401fc81af202d9a4.zip
trace_events_hist: add check for return value of 'create_hist_field'
Function 'create_hist_field' is called recursively at trace_events_hist.c:1954 and can return NULL-value that's why we have to check it to avoid null pointer dereference. Found by Linux Verification Center (linuxtesting.org) with SVACE. Link: https://lkml.kernel.org/r/[email protected] Cc: [email protected] Fixes: 30350d65ac56 ("tracing: Add variable support to hist triggers") Signed-off-by: Natalia Petrova <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions