1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/shell
Joshua DeWeese 5cd52885c1 sys/shell: fix missing NULL terminator
This patch adds the missing NULL terminator to the argv passed to shell
command handlers. Without it, Newlib's getop() was intermittently
causing hardfaults. Closer inspection of NewLib's code revealed that it
relies in this NULL termination. ANSI-C also requires it of the argv
passed to main().
2023-12-21 15:53:04 -05:00
..
cmds sys: Use size_t print format specifier 2023-12-21 12:02:19 +01:00
democommands rust: Update dependencies 2022-10-04 00:28:46 +02:00
doc.txt sys/shell_commands: convert to SHELL_COMMAND() 2022-06-07 09:25:04 +02:00
Kconfig sys/shell: make cmds submodules 2022-09-16 13:15:45 +02:00
Kconfig.config shell/Kconfig: make config options usable with dependency resolution 2021-02-19 13:22:47 +01:00
Makefile make: detect their module name automatically 2014-06-17 15:49:32 +02:00
Makefile.dep Merge #19963 #19971 #19974 #19975 #19976 2023-10-16 15:31:25 +00:00
shell.c sys/shell: fix missing NULL terminator 2023-12-21 15:53:04 -05:00