selftests/bpf: Fix realloc size in bpf_get_addrs
We will segfault once we call realloc in bpf_get_addrs due to wrong size argument. Fixes: 6302bdeb ("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>
Loading
Please sign in to comment