aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/edje
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-08 14:47:25 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 11:44:00 +0000
commit882b1796d1388a9f36b78cf902ba9c10b168e07a (patch)
treefa6f1915da137da5fe96debe78c782bc1aa950f4 /src/bin/edje
parentedje_cc - warn - fix free cb to be of right prototype (diff)
downloadefl-882b1796d1388a9f36b78cf902ba9c10b168e07a.tar.gz
edje_cc - warn - fix buf truncation by snprintf by extending buffers
Diffstat (limited to 'src/bin/edje')
-rw-r--r--src/bin/edje/edje_cc_out.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index 4b8783df44..154e070759 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -890,7 +890,7 @@ data_thread_fonts(void *data, Ecore_Thread *thread EINA_UNUSED)
void *m = NULL;
int bytes = 0;
char buf[EINA_PATH_MAX];
- char buf2[EINA_PATH_MAX];
+ char buf2[EINA_PATH_MAX + EINA_PATH_MAX + 128];
size_t size;
f = eina_file_open(fc->fn->file, 0);
@@ -1830,7 +1830,7 @@ data_write_mo(Eet_File *ef, int *mo_num)
int i;
char *po_entry;
char *sub_str;
- char buf[EINA_PATH_MAX];
+ char buf[EINA_PATH_MAX + PATH_MAX + PATH_MAX + 128];
Eina_List *ll;
char *dir_path = NULL;
char mo_path[PATH_MAX];
@@ -2372,7 +2372,7 @@ data_write_scripts(Eet_File *ef)
Code *cd = eina_list_data_get(l);
Script_Write *sc;
int fd;
- char buf[EINA_PATH_MAX];
+ char buf[EINA_PATH_MAX + PATH_MAX + PATH_MAX + 128];
if (cd->is_lua)
continue;