summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_dayselector.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-06-02 17:20:16 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-06-02 17:20:16 -0700
commitac5a0b7e79d6b32285bd7b794f050826f38cc7c2 (patch)
treec3271f9e66a216784a6d724b180743badb926a98 /src/lib/elementary/elm_dayselector.c
parent87e653239fbe2740eaff51f3fae6139753c67827 (diff)
elementary: avoid random memory access.
It seems that this content_get function are not getting the data pointer they expect at all.
Diffstat (limited to 'src/lib/elementary/elm_dayselector.c')
-rw-r--r--src/lib/elementary/elm_dayselector.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_dayselector.c b/src/lib/elementary/elm_dayselector.c
index bc03214..a65ca94 100644
--- a/src/lib/elementary/elm_dayselector.c
+++ b/src/lib/elementary/elm_dayselector.c
@@ -220,9 +220,10 @@ _item_find(const Evas_Object *obj,
220} 220}
221 221
222static Eina_Bool 222static Eina_Bool
223_elm_dayselector_content_set(Eo *obj, Elm_Dayselector_Data *sd, const char *item, Evas_Object *content) 223_elm_dayselector_content_set(Eo *obj, Elm_Dayselector_Data *pd, const char *item, Evas_Object *content)
224{ 224{
225 Eina_Bool int_ret = EINA_FALSE; 225 Eina_Bool int_ret = EINA_FALSE;
226 Elm_Dayselector_Data *sd = eo_data_scope_get(obj, MY_CLASS);
226 227
227 int day; 228 int day;
228 char buf[1024]; 229 char buf[1024];