Skip to content

Fix a QDBusConnection crash with pending calls when connection is closed

QDBusConnection::closeConnection does not use deref() on pendingCall list so if there is an QDBusPendingCallWatcher watching the pending call the QDbusPendingCallPrivate destructor will run twice causing a crash.

Pick-to: 5.15 6.2 6.3 Change-Id: Ib811da36d3510f4292aa310c52c0617b885947b7 Reviewed-by: Johannes Rosenqvist xeroc81@gmail.com Reviewed-by: Thiago Macieira thiago.macieira@intel.com (cherry picked from commit bb334e81)

Merge request reports

Loading