diff options
| author | Andrii Nakryiko <[email protected]> | 2022-04-07 16:04:45 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-04-08 09:16:09 -0700 |
| commit | 3c0dfe6e4c43ea0cf252ff4cb7a332423866d488 (patch) | |
| tree | 2fbe8d301b1b00aae314aa2fa51acdd02ffb100d /tools/perf/scripts/python | |
| parent | 700a6ef1fa6096b2782c03a6be41af0f88afad1d (diff) | |
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/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions