aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorDaniil Dulov <[email protected]>2023-02-27 01:17:51 -0800
committerLeon Romanovsky <[email protected]>2023-03-13 13:54:49 +0200
commit271bfcfb83a9f77cbae3d6e1a16e3c14132922f0 (patch)
tree3ac30bc7418f06219d43f30bc37bd9ba5b553723 /tools/perf/scripts/python/libxed.py
parentc874ad879c2f29ebe040a34b974389875c0d81eb (diff)
RDMA/siw: Fix potential page_array out of range access
When seg is equal to MAX_ARRAY, the loop should break, otherwise it will result in out of range access. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: b9be6f18cf9e ("rdma/siw: transmit path") Signed-off-by: Daniil Dulov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions