diff options
author | Andrei Matei <andreimatei1@gmail.com> | 2023-12-21 18:22:25 -0500 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-01-03 10:37:56 -0800 |
commit | 72187506de4f19fcc8ae63a2b2f36d75e5259d9d (patch) | |
tree | d58e59ba6536fc754d8aed14bd7ef6a2a3fe2be0 /net/unix/diag.c | |
parent | 8a021e7fa10576eeb3938328f39bbf98fe7d4715 (diff) |
bpf: Add a possibly-zero-sized read test
This patch adds a test for the condition that the previous patch mucked
with - illegal zero-sized helper memory access. As opposed to existing
tests, this new one uses a size whose lower bound is zero, as opposed to
a known-zero one.
Signed-off-by: Andrei Matei <andreimatei1@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20231221232225.568730-3-andreimatei1@gmail.com
Diffstat (limited to 'net/unix/diag.c')
0 files changed, 0 insertions, 0 deletions