Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-02-15 | libmisc/shell/main_edit.c: User cannot cut using ctrl e and x | zack | 1 | -2/+1 | |
Closes #4557 | |||||
2023-01-31 | libmisc/shell/edit: Return if no memory in move_gap | Chris Johns | 1 | -0/+3 | |
Closes #4835 | |||||
2023-01-31 | libmisc/shell/edit: Fix closing the editor | Chris Johns | 1 | -11/+4 | |
Closes #4834 | |||||
2022-11-25 | libmisc/shell: Fix edit Coverity error | Chris Johns | 1 | -1/+1 | |
Coverity Id: CID 1517029, CID 1517030, CID 1517031 | |||||
2022-11-23 | libmisc/shell: Support terminal size as env variables | Chris Johns | 1 | -1/+16 | |
Closes #4763 | |||||
2022-06-15 | cpukit: Fixes for GCC 12 warnings | Chris Johns | 1 | -0/+2 | |
Updates #6442 | |||||
2021-06-09 | main_edit.c: get rid of malloc warning | Ryan Long | 1 | -8/+8 | |
A warning was present when building RTEMS that stated that the argument for malloc() exceeded the maximum object size. To get rid of this, I changed many places where 'int' was being used to 'size_t'. | |||||
2021-03-08 | main_edit.c: Fix Unchecked return value (CID #1255318) | Ryan Long | 1 | -1/+1 | |
CID 1255318: Unchecked return value in display_line(). Updates #4257 | |||||
2020-10-15 | shell/main_edit.c: Fix string truncation warning | Frank Kühndel | 1 | -5/+7 | |
Using strlcpy() instead of strncpy(): 1) Prevents the compiler warnings 2) Ensures, the string is NUL terminated. 3) Avoids that strncpy() unnecessary fills the unused part of the buffer with 0 bytes. (Note that realpath() also returns NULL if the file does not exist - that happens always if someone creates a new file with the editor of the shell.) | |||||
2020-10-15 | shell/main_edit.c: Fix use of wrong constant | Frank Kühndel | 1 | -1/+2 | |
realpath() requires a buffer of size PATH_MAX and not of size FILENAME_MAX according to 'man realpath (3)'. | |||||
2019-03-14 | main_edit.c: Use strncpy() to eliminate potential buffer overflow. | Joel Sherrill | 1 | -4/+5 | |
2014-12-01 | libmisc/shell: Edit history hack is corrupting memory. Remove it. | Chris Johns | 1 | -24/+1 | |
The hack was a debug aid and is not needed. Close #2203. | |||||
2014-11-26 | shell: Include missing header | Sebastian Huber | 1 | -0/+1 | |
2014-11-25 | main_edit.c: Do not reference beyond end of array | Joel Sherrill | 1 | -0/+5 | |
2014-11-25 | shell/main_edit.c: Note return value not checked | Joel Sherrill | 1 | -1/+1 | |
Coverity Id 1255320 spotted an unchecked return value. | |||||
2014-11-25 | cpukit/libmisc/shell/main_edit.c: Fix use after free() | Joel Sherrill | 1 | -0/+8 | |
Coverity Id 1255353. Read from pointer after free(). | |||||
2014-11-05 | shell/main_edit.c: Fix warnings | Joel Sherrill | 1 | -8/+10 | |
2014-10-24 | shell: Add an editor to the shell. | Chris Johns | 1 | -0/+2259 | |
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. |