aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_helpers.h
diff options
context:
space:
mode:
authorPengcheng Yang <[email protected]>2023-05-05 08:50:58 +0000
committerAlexei Starovoitov <[email protected]>2023-05-05 15:37:48 +0000
commitf4dea9689c5fea3d07170c2cb0703e216f1a0922 (patch)
tree34a7d7597ca3580c2ddb981f1ec3d3bc87405bbd /tools/lib/bpf/bpf_helpers.h
parentbpf, docs: Update llvm_relocs.rst with typo fixes (diff)
downloadkernel-f4dea9689c5fea3d07170c2cb0703e216f1a0922.tar.gz
kernel-f4dea9689c5fea3d07170c2cb0703e216f1a0922.zip
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions