diff options
| author | Andrii Nakryiko <andrii@kernel.org> | 2022-02-17 10:39:58 +0300 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-02-17 18:09:07 +0300 |
| commit | 1b8c924a05934d2e758ec7da7bd217ef8ebd80ce (patch) | |
| tree | 923f14c801fdd8f454ef2d8e23954146d65ac78b /tools/perf/scripts/python/bin | |
| parent | 9b6eb0478dfad3b0e7af6c73523d96826210f4fe (diff) | |
| download | linux-1b8c924a05934d2e758ec7da7bd217ef8ebd80ce.tar.xz | |
libbpf: Fix memleak in libbpf_netlink_recv()
Ensure that libbpf_netlink_recv() frees dynamically allocated buffer in
all code paths.
Fixes: 9c3de619e13e ("libbpf: Use dynamically allocated buffer when receiving netlink messages")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20220217073958.276959-1-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
