diff options
| author | 2026-02-23 11:07:20 -0800 | |
|---|---|---|
| committer | 2026-02-24 08:19:48 -0800 | |
| commit | 3ed0bc2d4994c718fb5476b45d4aafec42a1d040 (patch) | |
| tree | e4b3db5252e65e37f98e04c6c017544690f16879 /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | selftests/bpf: Replace strncpy() with strscpy() (diff) | |
selftests/bpf: Use strscpy in bpftool_helpers.c
Replace strncpy() calls in bpftool_helpers.c with strscpy().
Pass the destination buffer size to detect_bpftool_path() instead of
hardcoding BPFTOOL_PATH_MAX_LEN.
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Link: https://lore.kernel.org/r/20260223190736.649171-5-ihor.solodrai@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
