diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-10-12 18:50:22 +0200 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-10-12 18:50:22 +0200 |
commit | bf173ca92da97863e1579a982d500da98f2e7a3f (patch) | |
tree | f104e10825409941b84e600b89fd3c9a0c70a730 /kernel/module-internal.h | |
parent | tracing/kprobes: Allow kprobe-events to record module symbol (diff) | |
download | linux-bf173ca92da97863e1579a982d500da98f2e7a3f.tar.xz linux-bf173ca92da97863e1579a982d500da98f2e7a3f.zip |
tracing: probeevent: Fix uninitialized used of offset in parse args
Dan's smatch utility found an uninitialized use of offset in a path in
parse_probe_args(). Unless an offset is specifically specified for commands
that allow them, it should default to zero.
Link: http://lkml.kernel.org/r/20181012134246.5doqaobxunlqqs53@mwanda
Fixes: 533059281ee5 ("tracing: probeevent: Introduce new argument fetching code")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com> (smatch)
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/module-internal.h')
0 files changed, 0 insertions, 0 deletions