summaryrefslogtreecommitdiff
path: root/src/lib/eio/efl_io_model.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eio/efl_io_model.c')
-rw-r--r--src/lib/eio/efl_io_model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eio/efl_io_model.c b/src/lib/eio/efl_io_model.c
index a14209069a..76cc7ab40c 100644
--- a/src/lib/eio/efl_io_model.c
+++ b/src/lib/eio/efl_io_model.c
@@ -111,7 +111,7 @@ _efl_model_evt_added_ecore_cb(void *data, int type, void *event)
111 info.name_start = mi->name_start; 111 info.name_start = mi->name_start;
112 info.name_length = mi->name_length; 112 info.name_length = mi->name_length;
113 info.type = EINA_FILE_UNKNOWN; 113 info.type = EINA_FILE_UNKNOWN;
114 strcpy(info.path, mi->path); 114 strncpy(info.path, mi->path, (EINA_PATH_MAX - 1));
115 115
116 if (!pd->filter.cb(pd->filter.data, obj, &info)) 116 if (!pd->filter.cb(pd->filter.data, obj, &info))
117 { 117 {