diff options
| author | Feng Yang <yangfeng@kylinos.cn> | 2026-07-23 16:50:58 +0800 |
|---|---|---|
| committer | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-07-24 23:15:20 +0200 |
| commit | 12b362b2f06b283b7d8a2450f702f9b6a0f94aed (patch) | |
| tree | 58b99d37d509c2eef99d6bedfde13ab51dba142d /include/uapi/linux | |
| parent | b04b8d4e198aefc863e7b702ececb957845b0c25 (diff) | |
selftests/bpf: Fix missing allocation null checks in test_progs.c
Add null checks after memory allocations to prevent potential segmentation faults.
Fixes: 79b453501310 ("tools/bpf: add a test for bpf_get_stack with tracepoint prog")
Fixes: 0925225956bb ("bpf/selftests: Add granular subtest output for prog_test")
Signed-off-by: Feng Yang <yangfeng@kylinos.cn>
Link: https://lore.kernel.org/bpf/20260723085100.482147-4-yangfeng59949@163.com
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
