summaryrefslogtreecommitdiff
path: root/init
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 /init
parent80765597bc587feae8dbc8ce97a0f32e12a6e625 (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 <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 'init')
0 files changed, 0 insertions, 0 deletions