diff options
author | Dan Carpenter <[email protected]> | 2018-03-23 14:37:36 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2018-03-23 11:15:20 -0400 |
commit | 5e4cf2bf6d1c198a90ccc0df5ffd8e0d4ea36b48 (patch) | |
tree | 6d012d3b94aeadeca4d782f2634c01230a12a247 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 80765597bc587feae8dbc8ce97a0f32e12a6e625 (diff) |
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 <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions