1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-12 14:34:42 -04:00
Files
sdrangel/plugins
Robin Getz c170e03ddd rtl-sdr: Fix out-of-bounds tuner name lookup
Validate the tuner type index before accessing the tuner name table.
The previous check allowed an index equal to names.size(), which could
result in an out-of-range QStringList access.

Use a local integer value for the enum conversion and ensure only valid
indices are used when looking up tuner names.

pointed out by cppcheck: Access out of bounds

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-08-01 19:52:09 -04:00
..
2026-05-04 06:00:17 +02:00