projects
/
platform
/
core
/
appfw
/
widget-viewer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c36c1c3
)
Fix static analysis issue
32/154432/1
author
Junghoon Park
<jh9216.park@samsung.com>
Tue, 10 Oct 2017 07:51:11 +0000
(16:51 +0900)
committer
Junghoon Park
<jh9216.park@samsung.com>
Tue, 10 Oct 2017 07:51:55 +0000
(16:51 +0900)
- Fix 'Dereference null return value'
Change-Id: I1ad456d6e7609532fd200d18f019c4c4cf5ece4e
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
tool/widget-mgr.c
patch
|
blob
|
history
diff --git
a/tool/widget-mgr.c
b/tool/widget-mgr.c
index b5d6cfa5bf3639b3c41a5af60847219a4d0f128c..76b3b561a16a8b25bed47b4e65894b32dba66bd1 100644
(file)
--- a/
tool/widget-mgr.c
+++ b/
tool/widget-mgr.c
@@
-275,8
+275,12
@@
static void __screen_connector_toolkit_evas_added_cb(const char *appid,
if (image == NULL)
return;
- if (path == NULL)
+ if (path == NULL)
{
path = getcwd(cwd, sizeof(cwd));
+ if (path == NULL)
+ return;
+ }
+
if (access(path, F_OK) != 0)
mkdir(path, 0755);