diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2018-04-10 15:20:08 +0300 |
---|---|---|
committer | Sasha Levin <alexander.levin@microsoft.com> | 2018-05-23 04:36:40 +0300 |
commit | 204663f60b89317b732cb4368084a0d6975d6060 (patch) | |
tree | 35d90050c0e75774024750d4fc08ebcf795abe2e /net/Kconfig | |
parent | 6fd6f19ff8d7e5c988028c5cbe0bb0fc421511a8 (diff) | |
download | linux-204663f60b89317b732cb4368084a0d6975d6060.tar.xz |
tracing/uprobe_event: Fix strncpy corner case
[ Upstream commit 50268a3d266ecfdd6c5873d62b2758d9732fc598 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Diffstat (limited to 'net/Kconfig')
0 files changed, 0 insertions, 0 deletions