Fix crash, when dbus call in GetNeighbor fails 71/149571/2 accepted/tizen/unified/20170921.072321 submit/tizen/20170920.082902
authorRadoslaw Cybulski <r.cybulski@partner.samsung.com>
Tue, 12 Sep 2017 12:45:33 +0000 (14:45 +0200)
committerRadoslaw Cybulski <r.cybulski@partner.samsung.com>
Wed, 13 Sep 2017 09:26:58 +0000 (11:26 +0200)
commit616b87d69d8938f13ded9c6298c9f8b5256d617a
tree997fc2dfe8f1d6af8a68ade9b38249fbb2325360
parent72f874269e39ea9b6854f366b632fe9fc04a9715
Fix crash, when dbus call in GetNeighbor fails

Failed dbus call would cause a crash by trying to get an iterator
to a reply message, which is null. This patch cleans up
_atspi_dbus_call_partial function to always return NULL on failure
and fixes NULL reply handling in atspi_accessible_get_neighbor and
atspi_accessible_get_navigable_at_point functions.

Change-Id: Ie158a79f8f1452c9a5685137c9b42104563dc717
atspi/atspi-accessible.c
atspi/atspi-misc.c