Linux kernel bug fix: libbpf: Fix realloc API handling in zero-sized edge cases
Subsystem: tools (tools/lib/bpf/libbpf.c)
Bug type: double-free, severity: medium
Keywords: double free;null pointer
Files changed: tools/lib/bpf/libbpf.c;tools/lib/bpf/usdt.c
Introduced by Alexei Starovoitov on 2021-05-19 00:33:40 +0200; fixed by Andrii Nakryiko on 2023-07-11 09:32:00 +0200 (lifetime: 783 days)