diff options
author | Andrii Nakryiko <[email protected]> | 2020-01-24 12:18:46 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-01-24 22:34:37 +0100 |
commit | 35b9211c0a2427e8f39e534f442f43804fc8d5ca (patch) | |
tree | 447a49a6541913091f7183f618de47e83c0c20f2 /scripts/bpf_helpers_doc.py | |
parent | d7a252708dbc950ca2064310217e8b9f85846e2f (diff) |
libbpf: Fix realloc usage in bpf_core_find_cands
Fix bug requesting invalid size of reallocated array when constructing CO-RE
relocation candidate list. This can cause problems if there are many potential
candidates and a very fine-grained memory allocator bucket sizes are used.
Fixes: ddc7c3042614 ("libbpf: implement BPF CO-RE offset relocation algorithm")
Reported-by: William Smith <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions