zephyr/subsys/shell
Peter Bigot e2e74c0f53 shell: fix return after taking lock
Check for error conditions before locking a mutex.

See https://habr.com/en/company/pvs-studio/blog/495284/ fragment 16.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-04-06 22:09:12 -04:00
..
modules shell: Fix device service module 2020-03-26 14:52:47 -04:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
Kconfig.backends shell: kconfig: Have SHELL_BACKEND_RTT depend on USE_SEGGER_RTT 2020-01-24 22:47:53 +01:00
Kconfig.template.shell_log_queue_size license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig.template.shell_log_queue_timeout license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
shell.c shell: fix return after taking lock 2020-04-06 22:09:12 -04:00
shell_cmds.c shell: Fix undefined macro warnings 2019-07-24 16:34:31 -04:00
shell_dummy.c shell: prompt configuration during project generation 2019-04-30 10:40:04 -04:00
shell_fprintf.c subsystems: Rename reserved function names 2019-04-03 17:31:00 -04:00
shell_help.c global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
shell_help.h shell: creating new module for help functionality 2018-12-05 15:15:44 +01:00
shell_history.c shell: Refactor shell_history to use less RW memory 2019-05-30 09:44:03 -04:00
shell_log_backend.c timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
shell_ops.c shell: Initialize va_list variables portably. 2019-06-07 12:08:35 +02:00
shell_ops.h shell: allow commands to suspend shell thread 2019-02-14 13:40:28 +01:00
shell_rtt.c timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
shell_telnet.c shell: telnet: Replace timer with a delayed work 2020-02-12 10:22:49 +02:00
shell_telnet_protocol.h shell: Add TELNET backend 2019-04-01 10:26:13 -04:00
shell_uart.c timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
shell_utils.c shell: utils: Fix buffer overrun in shell_spaces_trim 2020-03-06 10:08:46 +02:00
shell_utils.h shell: add select command 2019-05-24 11:04:42 +02:00
shell_vt100.h shell: add Ctrl+N and Ctrl+P meta-keys 2019-06-24 07:17:53 -04:00
shell_wildcard.c shell: allow commands to suspend shell thread 2019-02-14 13:40:28 +01:00
shell_wildcard.h shell: Add wildcard support 2018-09-19 09:30:29 -04:00