[ECOS] cyg_mtab_lookup()
Roland Caßebohm
roland.cassebohm@visionsystems.de
Thu Jun 27 05:01:00 GMT 2002
On Wednesday, 26. June 2002 21:26, Nick Garnett wrote:
> Of course I could say that it is the application's job to validate
> user input. But actually you are probably right. The simplest fix for
> this would be to change the line in cyg_mtab_lookup() to:
>
> // Unrooted file names go straight to current dir
> if( **name != '/' ) return (*mte==NULL)?-1:0;
>
>
> Let us know if this works.
Yes it works! Thank you!
Roland
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list