diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-10-14 20:43:39 +0200 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-10-14 20:43:39 +0200 |
commit | 06f43d66ec36388056f5c697bf1e67c0e0a1645c (patch) | |
tree | 04b8735f670570d146c0c12bb403effc94e14346 /arch/arm/mm/cache-v7.S | |
parent | tracing: Document HAVE_SYSCALL_TRACEPOINTS needs (diff) | |
download | linux-06f43d66ec36388056f5c697bf1e67c0e0a1645c.tar.xz linux-06f43d66ec36388056f5c697bf1e67c0e0a1645c.zip |
ftrace: Copy ftrace_graph_filter boot param using strlcpy
We are using strncpy in the wrong way to copy the ftrace_graph_filter
boot param because we pass the buffer size instead of the max string
size it can contain (buffer size - 1). The end result might not be
NULL terminated as we are abusing the max string size.
Lets use strlcpy() instead.
Reported-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/arm/mm/cache-v7.S')
0 files changed, 0 insertions, 0 deletions