shell: fix select command
If the command buffer is empty the shell was trying to read a string
from a random memory location. Added a condition checking "argc" value
when the select command is executed.
Fixes: #27227
Signed-off-by:
Jakub Rzeszutko <jakub.rzeszutko@nordisemi.no>
Loading
Please sign in to comment