mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
selftests/bpf: Fix realloc size in bpf_get_addrs
[ Upstream commit0c342bfc99] We will segfault once we call realloc in bpf_get_addrs due to wrong size argument. Fixes:6302bdeb91("selftests/bpf: Add a kprobe_multi subtest to use addrs instead of syms") Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a4427120c2
commit
c0dcd83aad
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue