diff options
author | Rong Tao <rongtao@cestc.cn> | 2022-11-22 10:32:56 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-11-25 00:21:29 +0100 |
commit | 19a2bdbaaddc71405494bd35fa034d9cf582b05e (patch) | |
tree | 6289803908f759c1fbd96dace44a5e6902027e11 /samples/trace_events | |
parent | b74344cbede22fdfc1366348b3d576eac0131380 (diff) |
samples/bpf: Fix wrong allocation size in xdp_router_ipv4_user
prefix_key->data allocates three bytes using alloca(), but four bytes are
actually accessed in the program.
Signed-off-by: Rong Tao <rongtao@cestc.cn>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/tencent_F9E2E81922B0C181D05B96DAE5AB0ACE6B06@qq.com
Diffstat (limited to 'samples/trace_events')
0 files changed, 0 insertions, 0 deletions