diff options
author | Wenbo Zhang <[email protected]> | 2020-07-10 05:20:35 -0400 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-07-10 23:25:25 +0200 |
commit | eef8a42d6ce087d1c81c960ae0d14f955b742feb (patch) | |
tree | cb2deede30a7bd2f068726f62d7678c319a62366 /tools/bpf/resolve_btfids/main.c | |
parent | 5c3320d7fece4612d4a413aa3c8e82cdb5b49fcb (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