This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Buffer boundary problem in tty_write().
- To: eCos List <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] Buffer boundary problem in tty_write().
- From: Alex Mathews <alexma at crosstor dot com>
- Date: Mon, 06 Nov 2000 12:03:53 -0500
- Organization: CrosStor Software, Inc.
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