[ECOS] PATCH 4 "No checking of index while accessing file descriptor table might lead to a crash"

Andrew Lunn andrew@lunn.ch
Mon Mar 29 13:25:00 GMT 2004


On Thu, Mar 25, 2004 at 12:21:56PM +0100, sebastien Couret wrote:
> On Monday 15 March 2004 17:59, you wrote:
> > Hi Sebastien
> >
> > The rest of eCos uses the macro CYG_ASSERT() rather than assert().
> >
> > Please could you change your patch to use this macro, eg something
> > like
> >
> >         CYG_ASSERT((0 < fd) && (fd<CYGNUM_FILEIO_NFD))","fd out of range");
> >
> > Please also include a ChangeLog entry with your patch.
> >
> 
> Hi all,
> As suggested by Andrew, I have revisited my patch :

Thanks. It has been committed.

        Andrew
       



More information about the Ecos-patches mailing list