1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-11 22:13:43 -04:00
Files
sdrangel/sdrbase/dsp
Robin Getz e6c3cecb64 scope: Check for empty trigger list before indexing
Move the existing empty-trigger check ahead of the access to the
current trigger condition. The previous code indexed
m_triggerConditions before verifying that the container was non-empty,
which could result in an out-of-bounds access.

No functional behavior is changed for the non-empty case.

noticed by cppcheck : Access out of bounds

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-08-01 22:41:23 -04:00
..
2023-12-11 01:49:11 +01:00
2023-12-01 12:04:57 +00:00
2026-02-13 09:08:50 +01:00
2026-02-13 09:08:50 +01:00
2026-02-12 23:23:27 +01:00
2026-02-12 23:23:27 +01:00
2024-07-10 23:06:38 +02:00
2026-02-12 23:23:27 +01:00
2026-02-12 23:23:27 +01:00
2024-07-10 23:06:38 +02:00
2026-03-25 16:30:13 +00:00
2024-07-10 23:06:38 +02:00
2024-07-10 23:06:38 +02:00
2024-07-10 23:06:38 +02:00
2026-03-25 21:39:29 +00:00
2024-07-10 23:06:38 +02:00
2024-07-10 23:06:38 +02:00
2026-01-06 12:07:52 +00:00
2024-07-10 23:06:38 +02:00
2024-07-21 14:20:48 +02:00
2026-03-25 16:30:13 +00:00
2026-03-25 16:30:13 +00:00
2026-03-25 18:58:43 +00:00
2026-03-25 18:58:43 +00:00
2024-07-10 23:06:38 +02:00
2024-07-21 14:20:48 +02:00