diff options
author | 2023-05-05 18:31:32 -0700 | |
---|---|---|
committer | 2023-05-06 16:42:57 -0700 | |
commit | 3881fdfed21ff129a23979c0a92df6d3c5f49aa9 (patch) | |
tree | 0e50cd606e6abbe6d3b8374c7ff3bba922177e4a /tools/lib/bpf/bpf_helpers.h | |
parent | selftests/bpf: Test allowing NULL buffer in dynptr slice (diff) | |
download | wireguard-linux-3881fdfed21ff129a23979c0a92df6d3c5f49aa9.tar.xz wireguard-linux-3881fdfed21ff129a23979c0a92df6d3c5f49aa9.zip |
selftests/bpf: Check overflow in optional buffer
This ensures we still reject invalid memory accesses in buffers that are
marked optional.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Link: https://lore.kernel.org/r/20230506013134.2492210-4-drosen@google.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions