zephyr/subsys/shell
Jakub Rzeszutko 4a85ecacda shell: fix tab for dynamic commands
The tabulator handler creates a single structure if it is handling
dynamic commands. If the currently processed dynamic command has a
dynamic subcommand they both share the same structure.
As a result tabulation operation may result in undefined behaviour.

As a solution, a new structure was introduced to keep subcommand
information.

Fixes #35926.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
2021-06-04 12:23:15 -05:00
..
modules
CMakeLists.txt
Kconfig
Kconfig.backends
Kconfig.template.shell_log_queue_size
Kconfig.template.shell_log_queue_timeout
shell_cmds.c
shell_dummy.c
shell_fprintf.c
shell_getopt.c
shell_help.c
shell_help.h
shell_history.c
shell_log_backend.c
shell_ops.c
shell_ops.h
shell_rtt.c
shell_telnet_protocol.h
shell_telnet.c
shell_uart.c
shell_utils.c
shell_utils.h
shell_vt100.h
shell_wildcard.c
shell_wildcard.h
shell.c