diff options
author | ZhaoLong Wang <wangzhaolong1@huawei.com> | 2023-12-26 09:01:12 +0800 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2024-01-06 23:45:44 +0100 |
commit | 4d0deb380a5b53471cde1d8c0e0fbd1b53bfbc64 (patch) | |
tree | 7fded3b94e0447d682361bb000c27159e22e5f5f /tools/testing/selftests/bpf/prog_tests/recursion.c | |
parent | 7cd8d1f8475d83c8871917430a2daf362c68e742 (diff) |
ubi: Reserve sufficient buffer length for the input mask
Because the mask received by the emulate_failures interface
is a 32-bit unsigned integer, ensure that there is sufficient
buffer length to receive and display this value.
Signed-off-by: ZhaoLong Wang <wangzhaolong1@huawei.com>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions