Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 9f81aa5d authored by Divya Indi's avatar Divya Indi Committed by Greg Kroah-Hartman
Browse files

tracing: Adding NULL checks for trace_array descriptor pointer

[ Upstream commit 953ae45a ]

As part of commit f45d1225 ("tracing: Kernel access to Ftrace
instances") we exported certain functions. Here, we are adding some additional
NULL checks to ensure safe usage by users of these APIs.

Link: http://lkml.kernel.org/r/1565805327-579-4-git-send-email-divya.indi@oracle.com



Signed-off-by: default avatarDivya Indi <divya.indi@oracle.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8e0d54aa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment