--- lbbs/src/menu.c 2025/05/08 15:24:59 1.33 +++ lbbs/src/menu.c 2025/05/09 02:10:01 1.34 @@ -522,7 +522,7 @@ int load_menu(MENU_SET *p_menu_set, cons { fin_line++; - memcpy(temp, buffer, sizeof(temp)); // Duplicate line for strtok_r + strncpy(temp, buffer, sizeof(temp)); // Duplicate line for strtok_r p = strtok_r(temp, MENU_CONF_DELIM_WITH_SPACE, &saveptr); if (p != NULL && *p == '%') // END of menu screen {