aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2022-04-07 23:04:45 +0000
committerAlexei Starovoitov <[email protected]>2022-04-08 16:16:09 +0000
commit3c0dfe6e4c43ea0cf252ff4cb7a332423866d488 (patch)
tree2fbe8d301b1b00aae314aa2fa51acdd02ffb100d /tools/testing/selftests/bpf/prog_tests/autoload.c
parentMerge branch 'Add USDT support for s390' (diff)
downloadkernel-3c0dfe6e4c43ea0cf252ff4cb7a332423866d488.tar.gz
kernel-3c0dfe6e4c43ea0cf252ff4cb7a332423866d488.zip
libbpf: Use strlcpy() in path resolution fallback logic
Coverity static analyzer complains that strcpy() can cause buffer overflow. Use libbpf_strlcpy() instead to be 100% sure this doesn't happen. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions