diff options
| author | Feng Yang <yangfeng@kylinos.cn> | 2026-07-23 16:50:59 +0800 |
|---|---|---|
| committer | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-07-24 23:15:20 +0200 |
| commit | a813ad2185cd9f653a79b96b7c8a24240118c4e1 (patch) | |
| tree | 2e7197b011f657277b1ab3e2a5187b0465841784 /include/uapi | |
| parent | 12b362b2f06b283b7d8a2450f702f9b6a0f94aed (diff) | |
selftests/bpf: Use calloc to allocate subtest_states
An early return triggered by read_prog_test_msg leaves uninitialized elements,
which leads to memory corruption during free_test_states cleanup.
Signed-off-by: Feng Yang <yangfeng@kylinos.cn>
Link: https://lore.kernel.org/bpf/20260723085100.482147-5-yangfeng59949@163.com
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
