diff options
author | Pengcheng Yang <yangpc@wangsu.com> | 2023-05-05 16:50:58 +0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-05-05 08:37:48 -0700 |
commit | f4dea9689c5fea3d07170c2cb0703e216f1a0922 (patch) | |
tree | 34a7d7597ca3580c2ddb981f1ec3d3bc87405bbd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 69535186297b37e6e0a16290766666f4e8a55793 (diff) |
samples/bpf: Fix buffer overflow in tcp_basertt
Using sizeof(nv) or strlen(nv)+1 is correct.
Fixes: c890063e4404 ("bpf: sample BPF_SOCKET_OPS_BASE_RTT program")
Signed-off-by: Pengcheng Yang <yangpc@wangsu.com>
Link: https://lore.kernel.org/r/1683276658-2860-1-git-send-email-yangpc@wangsu.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions