From 9f2480aafcf61d6fd5153d1219273b2f0e77dd69 Mon Sep 17 00:00:00 2001 From: WillyJL <49810075+WillyJL@users.noreply.github.com> Date: Thu, 8 May 2025 07:41:46 +0100 Subject: [PATCH] CLI: Fix crash with `date` command --nobuild Related: https://github.com/akopachov/flipper-zero_authenticator-companion/issues/47 --- CHANGELOG.md | 1 + applications/services/cli/cli_main_commands.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1a10d7cd..2d318e6c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - CLI: - Fix crash when opening CLI/qFlipper/WebUpdater if some unexpected files are present in `/ext/apps_data/cli/plugins` (by @WillyJL) - FIx crash with `ir universal` command (by @WillyJL) + - Fix crash with `date` command (by @WillyJL) - OFW: Fix subghz chat command (by @GameLord2011) - Sub-GHz: - UL: Fix CAME 24bit decoder (by @xMasterX) diff --git a/applications/services/cli/cli_main_commands.c b/applications/services/cli/cli_main_commands.c index bcd6301d7..7e7e15db9 100644 --- a/applications/services/cli/cli_main_commands.c +++ b/applications/services/cli/cli_main_commands.c @@ -567,7 +567,7 @@ void cli_main_commands_init(CliRegistry* registry) { CLI_COMMAND_INTERFACE(src, cli_command_src, CliCommandFlagParallelSafe, 768, CLI_APPID); CLI_COMMAND_INTERFACE(uptime, cli_command_uptime, CliCommandFlagDefault, 768, CLI_APPID); -CLI_COMMAND_INTERFACE(date, cli_command_date, CliCommandFlagParallelSafe, 768, CLI_APPID); +CLI_COMMAND_INTERFACE(date, cli_command_date, CliCommandFlagParallelSafe, 2048, CLI_APPID); CLI_COMMAND_INTERFACE(sysctl, cli_command_sysctl, CliCommandFlagDefault, 1024, CLI_APPID); CLI_COMMAND_INTERFACE(top, cli_command_top, CliCommandFlagParallelSafe, 1024, CLI_APPID); CLI_COMMAND_INTERFACE(vibro, cli_command_vibro, CliCommandFlagDefault, 1024, CLI_APPID);