diff options
| author | Rong Tao <rongtao@cestc.cn> | 2022-11-22 05:32:56 +0300 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-11-25 02:21:29 +0300 |
| commit | 19a2bdbaaddc71405494bd35fa034d9cf582b05e (patch) | |
| tree | 6289803908f759c1fbd96dace44a5e6902027e11 /lib/mpi/generic_mpih-sub1.c | |
| parent | b74344cbede22fdfc1366348b3d576eac0131380 (diff) | |
| download | linux-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 'lib/mpi/generic_mpih-sub1.c')
0 files changed, 0 insertions, 0 deletions
