diff options
| author | Byeonguk Jeong <[email protected]> | 2024-10-26 05:04:58 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-10-29 20:41:41 +0000 |
| commit | d7f214aeacb984b9d42da0146e789f595eb09068 (patch) | |
| tree | d129cd813e5901055effe00d14ddbaab73b0d8f5 /tools/perf/util/python.c | |
| parent | bpf: Fix out-of-bounds write in trie_get_next_key() (diff) | |
| download | kernel-d7f214aeacb984b9d42da0146e789f595eb09068.tar.gz kernel-d7f214aeacb984b9d42da0146e789f595eb09068.zip | |
selftests/bpf: Add test for trie_get_next_key()
Add a test for out-of-bounds write in trie_get_next_key() when a full
path from root to leaf exists and bpf_map_get_next_key() is called
with the leaf node. It may crashes the kernel on failure, so please
run in a VM.
Signed-off-by: Byeonguk Jeong <[email protected]>
Acked-by: Hou Tao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions
