commit | c3228ccec3dfefc94e275a9352feba6edb158f0a | [log] [tgz] |
---|---|---|
author | Mat Martineau <mathew.j.martineau@linux.intel.com> | Wed Jul 12 13:23:02 2017 -0700 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Jul 13 06:23:36 2017 +0200 |
tree | 3b0f209437d01d521f8c88ce4cfba53272dd70d1 | |
parent | 6adcecb33e0955c2efaa62287c79332653043a19 [diff] |
dbus: Fix use-after-free in property changed signals Configuring with --enable-asan and running test-dbus-properties revealed that properties_set_complete() was accessing a reply message after it was sent, but l_dbus_send() had already unref'd and freed the message. Grabbing a reference to the reply before sending fixes the problem.