forked from enlightenment/enlightenment
strcpy -> strncpy in evry files plugin
This commit is contained in:
parent
ce6f252317
commit
91eede9577
|
@ -692,7 +692,7 @@ _fetch(Evry_Plugin *plugin, const char *input)
|
|||
{
|
||||
dir = dirname(buf);
|
||||
_folder_item_add(p, dir, prio++);
|
||||
strcpy(buf, dir);
|
||||
strncpy(buf, dir, sizeof(buf) - 1);
|
||||
}
|
||||
|
||||
p->command = CMD_SHOW_PARENT;
|
||||
|
|
Loading…
Reference in New Issue