diff options
| author | Maciej Grochowski <Maciej.Grochowski@sony.com> | 2025-02-13 14:53:18 -0800 |
|---|---|---|
| committer | Jon Mason <jdmason@kudzu.us> | 2026-02-20 17:31:55 -0500 |
| commit | c8ba7ad2cc1c7b90570aa347b8ebbe279f1eface (patch) | |
| tree | 2baaf5b41173a8eaf1f1db05e8bb7aaefbfc1d50 /include | |
| parent | 186615f8855a0be4ee7d3fcd09a8ecc10e783b08 (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 'include')
0 files changed, 0 insertions, 0 deletions
