summaryrefslogtreecommitdiff
path: root/ax25.c
diff options
context:
space:
mode:
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;