raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e8c8f0b876322b15480de771c3995cd0228d251b

commit e8c8f0b876322b15480de771c3995cd0228d251b
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Fri Dec 13 20:03:14 2013 +0900

    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 1cbaf29..d85fb05 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)

-- 


Reply via email to