diff options
author | Stanislav Fomichev <sdf@google.com> | 2022-02-05 02:58:49 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-02-08 05:26:13 +0300 |
commit | 5d1e9f437df5ef21e7567f1970a00fda3b5d1126 (patch) | |
tree | 22267ad2bc9cda02f71f8107ff3fbd530314abe3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9d63b59d1e9d2daf662c5951e79bf89c99f3a8b7 (diff) | |
download | linux-5d1e9f437df5ef21e7567f1970a00fda3b5d1126.tar.xz |
bpf: test_run: Fix overflow in bpf_test_finish frags parsing
This place also uses signed min_t and passes this singed int to
copy_to_user (which accepts unsigned argument). I don't think
there is an issue, but let's be consistent.
Fixes: 7855e0db150ad ("bpf: test_run: add xdp_shared_info pointer in bpf_test_finish signature")
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20220204235849.14658-2-sdf@google.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions