projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8766e6c
)
edje: resolve the possible use of uninitialized value
91/243391/2
author
Jongmin Lee
<jm105.lee@samsung.com>
Mon, 7 Sep 2020 08:31:26 +0000
(17:31 +0900)
committer
Hermet Park
<chuneon.park@samsung.com>
Tue, 8 Sep 2020 04:49:37 +0000
(
04:49
+0000)
Change-Id: I5243bb5a0a703812f7b4ef02642f6f0f669e7933
src/bin/edje/edje_cc_out.c
patch
|
blob
|
history
diff --git
a/src/bin/edje/edje_cc_out.c
b/src/bin/edje/edje_cc_out.c
index
13aa554
..
319da7f
100644
(file)
--- a/
src/bin/edje/edje_cc_out.c
+++ b/
src/bin/edje/edje_cc_out.c
@@
-1769,7
+1769,11
@@
data_thread_mo(void *data, Ecore_Thread *thread EINA_UNUSED)
int bytes = 0;
if (mw->mo_path)
- f = eina_file_open(mw->mo_path, 0);
+ {
+ snprintf((char *)mo_path, sizeof(mo_path), "%s", mw->mo_path);
+ f = eina_file_open(mo_path, 0);
+ }
+
if (!f)
{
// Search the mo file in all the -md ( mo directory )