Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
78dbd3b0ef
|
|||
|
df266bab12
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hamradio/aprs",
|
||||
"version": "1.1.2",
|
||||
"version": "1.1.3",
|
||||
"description": "APRS (Automatic Packet Reporting System) protocol support for Typescript",
|
||||
"keywords": [
|
||||
"APRS",
|
||||
|
||||
@@ -423,7 +423,9 @@ export class Frame implements IFrame {
|
||||
offset += 7;
|
||||
}
|
||||
|
||||
if (this.payload.length < offset + 19) return { payload: null };
|
||||
// Need at least enough characters for compressed position (13) or
|
||||
// uncompressed (19). Allow parsing to continue if compressed-length is present.
|
||||
if (this.payload.length < offset + 13) return { payload: null };
|
||||
|
||||
// Check if compressed format
|
||||
const isCompressed = this.isCompressedPosition(
|
||||
|
||||
Reference in New Issue
Block a user