forked from enlightenment/efl
Embryo: be sure that the string buffer is always NULL terminated
SVN revision: 75443
This commit is contained in:
parent
386f4736f5
commit
1e5f8e3007
|
@ -653,6 +653,8 @@ setconfig(char *root)
|
||||||
char *ptr;
|
char *ptr;
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
|
path[sizeof(path) - 1] = 0;
|
||||||
|
|
||||||
/* add the default "include" directory */
|
/* add the default "include" directory */
|
||||||
if (root)
|
if (root)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue