summaryrefslogtreecommitdiff
path: root/ax25.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-04-13 17:48:58 +0100
committerDave Hibberd <hibby@debian.org>2024-04-13 17:48:58 +0100
commit0804f4a994d4d16438baa207f7cd0ba8400e9494 (patch)
tree6a8db3ce515d84ea2264c14147237f798a777080 /ax25.c
parentc264c0c63857e0c36303687d2dfc533500b93cf1 (diff)
New upstream version 0.72upstream/0.72upstream/0.0.0.72
Diffstat (limited to 'ax25.c')
-rw-r--r--ax25.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ax25.c b/ax25.c
index e55e286..4ae9083 100644
--- a/ax25.c
+++ b/ax25.c
@@ -869,6 +869,9 @@ int get_addr(char * Calls, UCHAR * AXCalls)
ptr = strtok_s(NULL, " ,", &Context);
+ if (ptr == NULL)
+ return FALSE;
+
if (ConvToAX25(ptr, axptr) == 0)
return FALSE;