Fix crash, when dbus call in GetNeighbor fails 96/150996/1 accepted/tizen/4.0/unified/20170921.073451 submit/tizen_4.0/20170920.081259
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>
Tue, 19 Sep 2017 09:35:00 +0000 (11:35 +0200)
commit2907c4fffb46f7d6cccdf96b243bd6d7f8831101
treea26180b473e2d2b8c434fc418e6018f6c760305a
parent3a9c9c1329b99297630576005c54ee601580bd02
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: Ie02c656abe57b4bd5474a1765ac499b8f0ee143a
atspi/atspi-accessible.c
atspi/atspi-misc.c