Files
sdrangel/plugins/samplesource
Robin Getz edc4693448 rtl-sdr: Fix out-of-bounds access in gain selection
The gain change handler allowed an index equal to m_gains.size(),
which is outside the valid vector range. Reject invalid indices before
accessing the gain table to avoid undefined behavior.

found with cppcheck: Access out of bounds

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