diff options
author | Philipp Stanner <[email protected]> | 2023-11-02 20:13:09 +0100 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2023-11-13 10:21:33 +0200 |
commit | c170d4ff21a8a525d782e3d1bc58d9538d95afe6 (patch) | |
tree | 306432a287d74b2d41ed82a4df6a6ae3c6e7d274 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 476b7c7e00ec3d909bacaeaf1dc53eb2b2d0c41d (diff) |
RDMA/hfi1: Copy userspace arrays safely
Currently, memdup_user() is utilized at two positions to copy userspace
arrays. This is done without overflow checks.
Use the new wrapper memdup_array_user() to copy the arrays more safely.
Suggested-by: Dave Airlie <[email protected]>
Signed-off-by: Philipp Stanner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions