summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRong Tao <rongtao@cestc.cn>2022-11-22 05:32:56 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2022-11-25 02:21:29 +0300
commit19a2bdbaaddc71405494bd35fa034d9cf582b05e (patch)
tree6289803908f759c1fbd96dace44a5e6902027e11 /tools
parentb74344cbede22fdfc1366348b3d576eac0131380 (diff)
downloadlinux-19a2bdbaaddc71405494bd35fa034d9cf582b05e.tar.xz
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 'tools')
0 files changed, 0 insertions, 0 deletions