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]

Re: Buffer boundary problem in tty_write().


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

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