aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-03-23 14:37:36 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-03-23 11:15:20 -0400
commit5e4cf2bf6d1c198a90ccc0df5ffd8e0d4ea36b48 (patch)
tree6d012d3b94aeadeca4d782f2634c01230a12a247 /tools/perf/scripts/python/export-to-postgresql.py
parenttracing: Rewrite filter logic to be simpler and faster (diff)
downloadlinux-rng-5e4cf2bf6d1c198a90ccc0df5ffd8e0d4ea36b48.tar.xz
linux-rng-5e4cf2bf6d1c198a90ccc0df5ffd8e0d4ea36b48.zip
tracing: Fix a potential NULL dereference
We forgot to set the error code on this path so we return ERR_PTR(0) which is NULL. It results in a NULL dereference in the caller. Link: http://lkml.kernel.org/r/20180323113735.GC28518@mwanda Fixes: 100719dcef44 ("tracing: Add simple expression support to hist triggers") Acked-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions