elm:[widget][atspi] check if the access info is NULL
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 13 Dec 2017 08:53:47 +0000 (14:23 +0530)
committerJiyoun Park <jy0703.park@samsung.com>
Thu, 21 Dec 2017 13:30:52 +0000 (22:30 +0900)
The elm_access object is deleted in job callback. the
access information is removed before adding the job.
So the access information could be NULL.

@tizen_fix

orignal patch: c46157c9484129e6bf749850e0525fb87d3410d6

Change-Id: Ic04b5bc02c8eb1ae1b3d4cb32c771f48f03563bf

src/lib/elementary/elm_widget.c

index b7886df..d4f4910 100644 (file)
@@ -6604,6 +6604,7 @@ _accessible_at_point_top_down_get(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSE
              if (efl_isa(child, ELM_ACCESS_CLASS))
                {
                    Elm_Access_Info *info = _elm_access_info_get(child);
+                   if (!info) continue;
                    compare_obj = info->part_object;
                 }
              /* In case of widget is registerd by elm_access_object_register */