1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-10 21:43:31 -04:00
Files
sdrangel/sdrbase/util
Robin Getz 08ff033dc3 aprs: Fix out-of-bounds access in item parsing
cppcheck reported an out-of-bounds access in APRSPacket::parseItem()
when parsing item names. The parser checked the string length using an
incorrect boundary condition, allowing an index equal to the string
length to be accessed.

Validate the item terminator before indexing the string, and ensure
malformed packets without a valid terminator are rejected. Also simplify
the item name parsing logic while enforcing the APRS 3-9 character item
name limit.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-08-01 23:16:15 -04:00
..
2024-09-05 13:37:46 +03:00
2024-07-10 23:06:38 +02:00
2024-07-10 23:06:38 +02:00
2026-07-09 23:16:19 +01:00
2024-07-10 23:06:38 +02:00
2024-06-10 14:01:57 +01:00
2024-07-10 23:06:38 +02:00
2025-06-04 18:15:59 +01:00
2025-06-04 18:15:59 +01:00
2026-03-25 16:30:13 +00:00
2025-06-04 20:24:58 +01:00
2025-06-04 20:24:58 +01:00
2024-03-03 13:40:42 +00:00
2024-10-11 11:01:43 +01:00
2024-10-11 11:01:43 +01:00
2024-03-14 15:41:01 +00:00
2024-07-10 23:06:38 +02:00
2024-06-10 14:01:57 +01:00
2024-07-10 23:06:38 +02:00
2026-07-19 17:16:04 +01:00
2026-07-19 17:16:04 +01:00
2026-03-25 16:30:13 +00:00
2026-03-25 18:58:43 +00:00
2025-06-04 20:22:09 +01:00
2025-06-04 20:22:09 +01:00
2024-07-10 23:06:38 +02:00
2026-03-26 21:34:07 +00:00
2024-10-08 22:19:29 +01:00
2024-03-03 13:57:10 +00:00
2024-07-10 23:06:38 +02:00
2026-02-01 17:15:47 +01:00
2026-02-01 17:15:47 +01:00
2024-04-04 21:41:07 +01:00
2024-07-10 23:06:38 +02:00
2025-06-09 11:12:46 +01:00