From a3c03f18f0bd153deca2be9af577e66efea608cb Mon Sep 17 00:00:00 2001 From: mrkusypl Date: Sun, 26 Apr 2026 02:24:27 +0200 Subject: [PATCH] Fix for string terminator overwriting --- App/app/menu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/App/app/menu.c b/App/app/menu.c index 57978a77..eb373e7e 100644 --- a/App/app/menu.c +++ b/App/app/menu.c @@ -1494,6 +1494,9 @@ static void MENU_Key_0_to_9(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld) if (UI_MENU_GetCurrentMenuId() == MENU_MEM_NAME && edit_index >= 0) { // currently editing the channel name + if (edit_index >= 10) + return; + uint8_t key_idx = Key - KEY_0; if (bKeyHeld)