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
Daniele Forsi
4241f01376
Fix typos in cpp files
2024-07-10 23:06:38 +02:00
srcejon
41716632d4
Remove use of deprecated QRegExp.
2024-06-10 14:01:57 +01:00
srcejon
eac144acba
#2028 - Check for Cr or LF.
2024-04-03 15:14:14 +01:00
srcejon
68b833ad97
APRS: Fix forwarding of binary data to APRS-IS for #2028 . Support UTF-8.
...
PacketDemod: Support UTF-8.
2024-03-20 13:54:15 +00:00
f4exb
439b5d094c
Rewriting of copyright notices for sdrbase. Part of #1893
2023-11-19 13:43:10 +01:00
Daniele Forsi
34aca019e2
Fix spelling in strings
2023-07-23 18:55:12 +02:00
Jon Beniston
2cb2a8d555
Update sdrbase and sdrgui to support Qt5 and Qt6
2022-11-17 14:41:55 +00:00
Peter Beckman
e9a805824d
Updating the DC+28 Encoding Range to include the alternate encoding
2022-01-20 16:18:05 -05:00
Peter Beckman
f4e2226fb4
Fixed ASCII Range for Latitude Direction and compacted code, fixed escape char in Altitude Regexp
2022-01-20 15:20:16 -05:00
Peter Beckman
f75c77f47c
Compacting Hash/List definitions, adding a few comments for future OSS contributors
2022-01-20 14:48:26 -05:00
Peter Beckman
9e5ebe0f1d
Was seeing some invalid Coordinates, I'll dig into that overnight once I log enough packets
2022-01-19 23:41:25 -05:00
Peter Beckman
8c4419af1b
Tested and working version; Adds Altitude, Status, Comment
2022-01-19 23:20:45 -05:00
Peter Beckman
de66c8cb3a
Adding Debug lines to APRSPacket::parseMicE, adding regex match for Mic-E APRS
2022-01-19 15:39:20 -05:00
Peter Beckman
cd9bf5770e
Fixing course, latitude calculation, latitude character appending
2022-01-19 15:12:50 -05:00
Peter Beckman
d9943f6976
Adding brackets, fixing QString double quotes, changing inRange() to inline
2022-01-19 14:30:15 -05:00
Peter Beckman
f07600f24e
Found a few bugs in Code Review
2022-01-19 00:33:08 -05:00
Peter Beckman
668b2c7490
First attempt at implementing APRS Mic-E Message Decoding
2022-01-19 00:23:33 -05:00
Jon Beniston
af7e69c7c1
Fix gcc warnings
2021-01-13 23:03:55 +00:00
Jon Beniston
5a52052d2c
Add APRS Feature
2021-01-13 20:37:09 +00:00