zephyr/subsys/shell
Jungo Lin fa716d9842 shell: fix index out bound issue
In order to prevent index out of bounds access of the sh->ctx->cmd_buff
array when sh->ctx->cmd_buff_pos is 0, it has been added a check for the
value of sh->ctx->cmd_buff_pos.

This ensures that the array will not be accessed beyond its boundaries.

Signed-off-by: Jungo Lin <jungolin.tw@gmail.com>
2024-05-27 08:16:36 -07:00
..
backends Revert "shell: backends: uart: avoid unnecessary TX IRQs" 2024-05-10 18:23:50 -04:00
modules shell: devmem: address cmd_dump multiple call problem 2024-05-15 10:13:23 +02:00
CMakeLists.txt
Kconfig shell: Allow extension of shell APIs 2024-04-24 16:04:03 -04:00
Kconfig.template.shell_log_queue_size
Kconfig.template.shell_log_queue_timeout
shell_cmds.c shell: fix shell instance name typo 2023-12-05 10:44:56 -05:00
shell_fprintf.c
shell_help.c shell: Add a space after colon 2024-01-05 14:43:21 -05:00
shell_help.h
shell_history.c
shell_log_backend.c shell: fix a memory corruption coverity issue 2023-10-13 13:11:28 +03:00
shell_ops.c shell: Fix scrolling long commands in history 2023-09-13 16:26:02 +02:00
shell_ops.h shell: Fix shell init procedure when configured as inactive on startup 2024-01-21 16:01:36 +01:00
shell_utils.c shell: add a callback-filter variant of shell_device_lookup 2024-04-30 19:30:15 -05:00
shell_utils.h
shell_vt100.h
shell_wildcard.c
shell_wildcard.h
shell.c shell: fix index out bound issue 2024-05-27 08:16:36 -07:00