aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-11-23 16:23:19 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2021-11-26 00:15:03 +0100
commit486e648cb2f170702fc05f777c7b6b3d8ec662ce (patch)
tree9312bc4266d9c2fb51e405c8fa36eaff39c6e6e9 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentlibbpf: Fix using invalidated memory in bpf_linker (diff)
downloadwireguard-linux-486e648cb2f170702fc05f777c7b6b3d8ec662ce.tar.xz
wireguard-linux-486e648cb2f170702fc05f777c7b6b3d8ec662ce.zip
selftests/bpf: Fix UBSan complaint about signed __int128 overflow
Test is using __int128 variable as unsigned and highest order bit can be set to 1 after bit shift. Use unsigned __int128 explicitly and prevent UBSan from complaining. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20211124002325.1737739-8-andrii@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions