On Sat, 15 Dec 2012 13:03:10 +0100 Maxime Villard <rusty...@gmx.fr> said:
> A little patch to fix a possible warning - and overflow. > > 'buf' is PATH_MAX, but PATH_MAX is not necessary 1024. If > PATH_MAX < 1024 -> overflow. > > Also, fgets() fills the buffer and nullterminate it, so we > don't need to buff[0] = '\0'. indeed correct. in svn it is. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel