commit | eef8a42d6ce087d1c81c960ae0d14f955b742feb | [log] [tgz] |
---|---|---|
author | Wenbo Zhang <ethercflow@gmail.com> | Fri Jul 10 05:20:35 2020 -0400 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Fri Jul 10 23:25:25 2020 +0200 |
tree | cb2deede30a7bd2f068726f62d7678c319a62366 | |
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 <ethercflow@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200710092035.28919-1-ethercflow@gmail.com