diff options
| author | Dave Hibberd <hibby@debian.org> | 2026-06-29 11:36:57 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2026-06-29 11:36:57 +0100 |
| commit | 23de03a0c8bf8a564cc0442f49d050ed11e372b8 (patch) | |
| tree | 7cc837d9215b6e427db85c443d0ea1f6874e2aa0 /AGWAPI.c | |
| parent | 7aa6cec9300c8a3e9ef98b19791ad324d487512e (diff) | |
New upstream version 6.0.25.33.1+repackupstream/6.0.25.33.1+repack
Diffstat (limited to 'AGWAPI.c')
| -rw-r--r-- | AGWAPI.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1393,7 +1393,13 @@ int ProcessAGWCommand(struct AGWSocketConnectionInfo * sockptr) if (sockptr->AGWRXHeader.DataKind == 'V') // Unproto with VIA string
{
Digis = sockptr->MsgData[0]; // Number of digis
-
+ + if (Digis > 7) + { + AGWDataSocket_Disconnect(sockptr); + return 0; + } +
for (j = 1; j<= Digis; j++)
{
ConvToAX25(&sockptr->MsgData[(j - 1) * 10 + 1],&TXMessage[7+(j*7)]); // No "last" bit
|
