aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/queue_stack_map.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-11-24 00:23:20 +0000
committerDaniel Borkmann <[email protected]>2021-11-25 23:15:03 +0000
commit3bd0233f388e061c44d36a1ac614a3bb4a851b7e (patch)
treedac7834cbccc83310aa9c8a2d15b42f4c296ead2 /tools/testing/selftests/bpf/prog_tests/queue_stack_map.c
parentselftests/bpf: Fix UBSan complaint about signed __int128 overflow (diff)
downloadkernel-3bd0233f388e061c44d36a1ac614a3bb4a851b7e.tar.gz
kernel-3bd0233f388e061c44d36a1ac614a3bb4a851b7e.zip
selftests/bpf: Fix possible NULL passed to memcpy() with zero size
Prevent sanitizer from complaining about passing NULL into memcpy(), even if it happens with zero size. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/queue_stack_map.c')
0 files changed, 0 insertions, 0 deletions