diff options
| author | 2025-02-13 14:53:18 -0800 | |
|---|---|---|
| committer | 2026-02-20 17:31:55 -0500 | |
| commit | c8ba7ad2cc1c7b90570aa347b8ebbe279f1eface (patch) | |
| tree | 2baaf5b41173a8eaf1f1db05e8bb7aaefbfc1d50 /tools/perf/scripts/python/stackcollapse.py | |
| parent | ntb: ntb_hw_switchtec: Fix shift-out-of-bounds for 0 mw lut (diff) | |
ntb: ntb_hw_switchtec: Fix array-index-out-of-bounds access
Number of MW LUTs depends on NTB configuration and can be set to MAX_MWS,
This patch protects against invalid index out of bounds access to mw_sizes
When invalid access print message to user that configuration is not valid.
Signed-off-by: Maciej Grochowski <Maciej.Grochowski@sony.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
