mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-24 04:24:21 -04:00
8aea40f300
Use the validated bandwidth index when accessing bandwidth tables in the ChirpChat, MeshCore, and Meshtastic channel GUIs. The previous code used the raw UI value after clamping it into m_bandwidthIndex, allowing negative or out-of-range array accesses. Found by cppcheck. Signed-off-by: Robin Getz <rgetz503@gmail.com>