This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Buffer boundary problem in tty_write().


Proposed fix is the following:


-- Index: tty.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/serial/current/src/common/tty.c,v
retrieving revision 1.6
diff -r1.6 tty.c
178c178
<         if ((size == (BUFSIZE-1)) ||
---
>         if ((size >= (BUFSIZE-1)) ||



Alex Mathews
CrosStor Software, Inc.
908-226-0100 ext 148
alexma@crosstor.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]