summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorInga Stotland <istotlan@ingas-xps13.amr.corp.intel.com>2019-10-01 11:51:08 -0700
committerBrian Gix <brian.gix@intel.com>2019-10-05 08:53:50 -0700
commitd6a0539d1ddf9f115e889d2bdd27f038408eaf31 (patch)
tree1a430a7eebdba77a77e097db954ef7dd6b08194f /unit
parent37bbe30c92a729a4f819fde349443ce07a23cf93 (diff)
downloadbluez-d6a0539d1ddf9f115e889d2bdd27f038408eaf31.tar.gz
mesh: Fix segmentation fault on Join() call
This fixes the following segfault: node_init_cb (node=0x0, agent=0x0) at mesh/mesh.c:359 reply = dbus_error(join_pending->msg, MESH_ERROR_FAILED, user_data=0x5555555be170) at mesh/node.c:1760 dbus=<optimized out>) at ell/dbus.c:216 user_data=0x5555555a6e00) at ell/dbus.c:279 user_data=0x5555555a7ef0) at ell/io.c:126 at ell/main.c:642 at mesh/main.c:205 The fault was caused by the premature deletion of preserved state. This moves setup of disconnect watch for the application calling the Join() method into the node_init_cb(), after a temporary node has been successfully created.
Diffstat (limited to 'unit')
0 files changed, 0 insertions, 0 deletions