From e8c8f0b876322b15480de771c3995cd0228d251b Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 13 Dec 2013 20:03:14 +0900 Subject: edje_decc - fix possible use of uninitialized string this should fix CID 1039553 --- src/bin/edje/edje_decc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/edje/edje_decc.c b/src/bin/edje/edje_decc.c index 1cbaf2920..d85fb0580 100644 --- a/src/bin/edje/edje_decc.c +++ b/src/bin/edje/edje_decc.c @@ -447,6 +447,9 @@ output(void) fprintf(f, "%s $@ -id . -fd . %s -o %s.edj\n", edje_file->compiler, sf->name, outdir); fclose(f); + chmod(out, + S_IRUSR | S_IWUSR | S_IXUSR | + S_IRGRP | S_IWGRP | S_IXGRP); } WRN("*** CAUTION ***\n" @@ -463,8 +466,6 @@ output(void) } } - chmod(out, S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP); - } if (edje_file->sound_dir) -- cgit v1.2.3