On Wed, 20 Jan 2010 11:08:02 -0200 Gustavo Sverzut Barbieri
<barbi...@profusion.mobi> said:
> 
> i know you did not change this code, but strncpy() is not safe (check
> its man page about trailing \0), so it's better to use ecore_strlcpy()

fixeed with a quick buf[PATH_MAX - 1] = 0;

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to