Commit 0c342bfc authored by Jiri Olsa's avatar Jiri Olsa Committed by Alexei Starovoitov
Browse files

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: default avatarJiri Olsa <jolsa@kernel.org>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 4b2b38ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment