[ECOS] Buffer boundary problem in tty_write().

Alex Mathews alexma@crosstor.com
Mon Nov 6 08:58:00 GMT 2000


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


More information about the Ecos-discuss mailing list