[ECOS] Buffer boundary problem in tty_write().

Jonathan Larmour jlarmour@cygnus.co.uk
Mon Nov 6 11:40:00 GMT 2000


Alex Mathews wrote:
> 
> Proposed fix is the following:
> 
> -- Index: tty.c
> 178c178
> <         if ((size == (BUFSIZE-1)) ||
> ---
> >         if ((size >= (BUFSIZE-1)) ||

Good catch. Thanks, applied.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault


More information about the Ecos-discuss mailing list