From 83188c97f6884987a2dc58a348c3bdbf3a1de084 Mon Sep 17 00:00:00 2001 From: Kristian Glass Date: Wed, 8 Apr 2026 23:35:53 +0100 Subject: [PATCH] fix: Break when failing to create AX.25 frame from AGWPE M frame Without this, the command handler will go on to try to process and enqueue a null packet --- src/server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server.c b/src/server.c index f859eb95..602ece23 100644 --- a/src/server.c +++ b/src/server.c @@ -2075,6 +2075,7 @@ static THREAD_F cmd_listen_thread (void *arg) if (pp == NULL) { text_color_set(DW_COLOR_ERROR); dw_printf ("Failed to create frame from AGW 'M' message.\n"); + break; } ax25_set_info (pp, (unsigned char*)cmd.data, data_len);