atspi: not use destructed eo object 56/155856/3
authorShinwoo Kim <cinoo.kim@samsung.com>
Mon, 16 Oct 2017 06:58:56 +0000 (15:58 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Wed, 18 Oct 2017 08:44:59 +0000 (08:44 +0000)
commit7cc42db94329f6e559d44a7545161e817f06c03a
tree0d25caf52eab0e8dc27d7f740c6fbe0a38ba37d1
parent5ab68a43249aa8a11e7a0e4d584b88d492a7281b
atspi: not use destructed eo object

It is possible to access destructed eo object using ATSPI interface.
The following sequence is possilbe, because AT-client such as screen-reader
does not know whether a widget object deleted or not.

1. _elm_radio_evas_object_smart_del
2. _elm_radio_elm_interface_atspi_accessible_state_set_get

So before using eo interface, we have to check if the eo object is vlid or
not using eo_destructed_is.

Change-Id: I7ffaf7bd905dcc2ef5770d9c1cef9de52ec77322
src/lib/elm_atspi_bridge.c