Changeset 3bd0cd1 in rtems
- Timestamp:
- 11/24/14 19:54:26 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- ebb39a21
- Parents:
- d152024
- git-author:
- Joel Sherrill <joel.sherrill@…> (11/24/14 19:54:26)
- git-committer:
- Joel Sherrill <joel.sherrill@…> (11/25/14 18:58:00)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libmisc/shell/main_edit.c
rd152024 r3bd0cd1 816 816 if (key_history_in < sizeof(key_history)) { 817 817 key_history[key_history_in++] = ch; 818 #if defined(__rtems__) 819 } if (key_history_in > sizeof(key_history)) { 820 /* eliminate possibility of using index above array bounds */ 821 assert( key_history_in > sizeof(key_history)); 822 #endif 818 823 } else { 819 824 memmove(&key_history[0], &key_history[1], sizeof(key_history) - sizeof(key_history[0]));
Note: See TracChangeset
for help on using the changeset viewer.