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-10-21 17:10:10 -0700; fixed by Shung-Hsi Yu on 2022-10-13 10:53:34 -0700 (lifetime: 356 days)