diff options
author | Wenbo Zhang <ethercflow@gmail.com> | 2020-07-10 05:20:35 -0400 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-07-10 23:25:25 +0200 |
commit | eef8a42d6ce087d1c81c960ae0d14f955b742feb (patch) | |
tree | cb2deede30a7bd2f068726f62d7678c319a62366 /init | |
parent | 5c3320d7fece4612d4a413aa3c8e82cdb5b49fcb (diff) | |
download | linux-eef8a42d6ce087d1c81c960ae0d14f955b742feb.tar.bz2 |
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
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions