diff options
| author | Masami Hiramatsu <[email protected]> | 2018-04-10 12:20:08 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-04-10 18:14:11 +0000 |
| commit | 50268a3d266ecfdd6c5873d62b2758d9732fc598 (patch) | |
| tree | 8bb731fed7122c417891afeb5381290b10bd37d0 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | perf/core: Fix perf_uprobe_init() (diff) | |
| download | kernel-50268a3d266ecfdd6c5873d62b2758d9732fc598.tar.gz kernel-50268a3d266ecfdd6c5873d62b2758d9732fc598.zip | |
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 <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Song Liu <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: 范龙飞 <[email protected]>
Fixes: 5baaa59ef09e ("tracing/probes: Implement 'memory' fetch method for uprobes")
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
