diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2018-04-10 15:20:08 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-04-10 21:14:11 +0300 |
commit | 50268a3d266ecfdd6c5873d62b2758d9732fc598 (patch) | |
tree | 8bb731fed7122c417891afeb5381290b10bd37d0 /tools/perf/Documentation/perf-stat.txt | |
parent | 0eadcc7a7bc03e991d2da1cf88143fb7cc0342c1 (diff) | |
download | linux-50268a3d266ecfdd6c5873d62b2758d9732fc598.tar.xz |
tracing/uprobe_event: Fix strncpy corner case
Fix string fetch function to terminate with NUL.
It is OK to drop the rest of string.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Song Liu <songliubraving@fb.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: security@kernel.org
Cc: 范龙飞 <long7573@126.com>
Fixes: 5baaa59ef09e ("tracing/probes: Implement 'memory' fetch method for uprobes")
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/Documentation/perf-stat.txt')
0 files changed, 0 insertions, 0 deletions