aboutsummaryrefslogtreecommitdiff
path: root/tools/bpf/resolve_btfids/main.c
diff options
context:
space:
mode:
authorWenbo Zhang <[email protected]>2020-07-10 05:20:35 -0400
committerDaniel Borkmann <[email protected]>2020-07-10 23:25:25 +0200
commiteef8a42d6ce087d1c81c960ae0d14f955b742feb (patch)
treecb2deede30a7bd2f068726f62d7678c319a62366 /tools/bpf/resolve_btfids/main.c
parent5c3320d7fece4612d4a413aa3c8e82cdb5b49fcb (diff)
bpf: Fix fds_example SIGSEGV error
The `BPF_LOG_BUF_SIZE`'s value is `UINT32_MAX >> 8`, so define an array with it on stack caused an overflow. Signed-off-by: Wenbo Zhang <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/resolve_btfids/main.c')
0 files changed, 0 insertions, 0 deletions