Linux kernel bug fix: libbpf: Use elf_getshdrnum() instead of e_shnum
Subsystem: tools (tools/lib/bpf/libbpf.c)
Bug type: buffer-overflow, severity: high
Keywords: buffer overflow
Files changed: tools/lib/bpf/libbpf.c
Introduced by Andrii Nakryiko on 2021-11-03 13:25:37 -0700; fixed by Shung-Hsi Yu on 2022-10-13 10:53:34 -0700 (lifetime: 343 days)