projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8206423
)
tizen_vector: add null checking before strstr
20/88620/1
author
WooHyun Jung
<wh0705.jung@samsung.com>
Tue, 20 Sep 2016 04:45:25 +0000
(13:45 +0900)
committer
WooHyun Jung
<wh0705.jung@samsung.com>
Tue, 20 Sep 2016 04:45:25 +0000
(13:45 +0900)
Change-Id: Ifebb28259634d0f3e2b804ecf81adb2b90fb6884
src/lib/tizen_vector.c
patch
|
blob
|
history
diff --git
a/src/lib/tizen_vector.c
b/src/lib/tizen_vector.c
index
060e565
..
829e702
100644
(file)
--- a/
src/lib/tizen_vector.c
+++ b/
src/lib/tizen_vector.c
@@
-1496,7
+1496,7
@@
tizen_vg_button_default_set(Elm_Button *obj)
// When the button has no background and has circle shape,
// the vector_ux will be "no_bg/circle".
const char *str = elm_layout_data_get(obj, "vector_ux");
- if (strstr(str, "circle"))
+ if (str
&& str
str(str, "circle"))
vd->is_circle = EINA_TRUE;
else
{