summaryrefslogtreecommitdiff
path: root/src/modules/evas/loaders/generic/evas_image_load_generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/loaders/generic/evas_image_load_generic.c')
-rw-r--r--src/modules/evas/loaders/generic/evas_image_load_generic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/evas/loaders/generic/evas_image_load_generic.c b/src/modules/evas/loaders/generic/evas_image_load_generic.c
index 22d0acde27..78488d1036 100644
--- a/src/modules/evas/loaders/generic/evas_image_load_generic.c
+++ b/src/modules/evas/loaders/generic/evas_image_load_generic.c
@@ -173,7 +173,8 @@ _load(Eina_File *ef, const char *key,
173 // single extn not too long 173 // single extn not too long
174 if (((end - dot1) <= 5) && (!illegal_char(dot1))) 174 if (((end - dot1) <= 5) && (!illegal_char(dot1)))
175 { 175 {
176 strcpy(&(decoders[decoders_num][0]), img_loader); 176 strncpy(&(decoders[decoders_num][0]), img_loader, 127);
177 decoders[decoders_num][127] = 0;
177 dotcat(&(decoders[decoders_num][0]), dot1); 178 dotcat(&(decoders[decoders_num][0]), dot1);
178 decoders_num++; 179 decoders_num++;
179 } 180 }