OSDN Git Service

tracing/probe: Check the size of argument name and body
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 14 Mar 2019 04:30:30 +0000 (13:30 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 14 Mar 2019 23:53:57 +0000 (19:53 -0400)
commitb4443c17a3c9d652dc5d7679ddca867ee3cdaa9c
treed924d472e05e3c61bed74a5823a65af031af8bef
parentdec65d79fd269d05427c8167090bfc9c3d0b56c4
tracing/probe: Check the size of argument name and body

Check the size of argument name and expression is not 0
and smaller than maximum length.

Link: http://lkml.kernel.org/r/155253783029.14922.12650939303827581096.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_probe.c
kernel/trace/trace_probe.h