Changeset 32a46df3 in rtems


Ignore:
Timestamp:
Aug 19, 2008, 8:23:32 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.8
Children:
de9806e
Parents:
08e4923
Message:

2008-08-19 Cedric Aubert <cedric_aubert@…>

PR 500/misc

  • libcsupport/src/termios.c: Avoid potential buffer overflow.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r08e4923 r32a46df3  
     12008-08-19      Cedric Aubert <cedric_aubert@yahoo.fr>
     2
     3        PR 500/misc
     4        * libcsupport/src/termios.c: Avoid potential buffer overflow.
     5
    162008-08-15      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • cpukit/libcsupport/src/termios.c

    r08e4923 r32a46df3  
    10221022                 * Process characters read from raw queue
    10231023                 */
    1024                 while (tty->rawInBuf.Head != tty->rawInBuf.Tail) {
     1024                while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&
     1025                       (tty->ccount < (CBUFSIZE-1))) {
    10251026                        unsigned char c;
    10261027                        unsigned int newHead;
Note: See TracChangeset for help on using the changeset viewer.