diff options
| author | 2026-02-23 11:07:21 -0800 | |
|---|---|---|
| committer | 2026-02-24 08:19:49 -0800 | |
| commit | 9d8685239e85ba5a4899b5b3534c732e3ae5f2aa (patch) | |
| tree | 03e1640652bf88df93e1212e08f1a12f530e8703 /tools/perf/scripts/python/stackcollapse.py | |
| parent | selftests/bpf: Use strscpy in bpftool_helpers.c (diff) | |
selftests/bpf: Use memcpy() for bounded non-NULL-terminated copies
Replace strncpy() with memcpy() in cases where the source is
non-NULL-terminated and the copy length is known.
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Link: https://lore.kernel.org/r/20260223190736.649171-6-ihor.solodrai@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
