--- freem/src/fmadm.c 2025/01/19 02:04:04 1.1.1.1 +++ freem/src/fmadm.c 2025/02/26 00:15:29 1.2 @@ -554,6 +554,8 @@ int fm_shell (void) cmdt = strtok (fmarl_buf, " "); + if (cmdt == (char *) NULL) continue; + for (i = 0; i < strlen (cmdt); i++) cmdt[i] = cmdt[i] | 0140; if (strcmp (cmdt, "exit") == 0) cmd = FMAC_EXIT;