Commit Graph

7 Commits

Author SHA1 Message Date
Chris Johns
e37e8504f1 libmisc/shell: Edit history hack is corrupting memory. Remove it.
The hack was a debug aid and is not needed.

Close #2203.
2014-12-01 14:53:55 +11:00
Sebastian Huber
fdd1e20579 shell: Include missing header 2014-11-26 09:58:40 +01:00
Joel Sherrill
3bd0cd1ad5 main_edit.c: Do not reference beyond end of array 2014-11-25 12:58:00 -06:00
Joel Sherrill
d15202490c shell/main_edit.c: Note return value not checked
Coverity Id 1255320 spotted an unchecked return value.
2014-11-25 12:57:09 -06:00
Joel Sherrill
4afa216ba8 cpukit/libmisc/shell/main_edit.c: Fix use after free()
Coverity Id 1255353. Read from pointer after free().
2014-11-25 12:57:08 -06:00
Joel Sherrill
54998f6ef1 shell/main_edit.c: Fix warnings 2014-11-05 09:29:47 -06:00
Chris Johns
42c77e9982 shell: Add an editor to the shell.
This is a small (21K on sparc) editor that provides some powerful
features useful when a file needs editing on an embedded
board. No need to copy files off, edit, copy back.
2014-10-24 16:06:54 -07:00