Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0
-
None
-
Linux, Bluez 5.32
-
59bc397f0ac0e0c333c415f25782f2a6614fc03a
Description
When a device discovery is started, the already known devices are immediately returned using deviceDiscovered signals. This happens in the start function before the discoverytimer is started. When stop() is called in the deviceDiscovered slot, the adapterBluez5 is deleted and the discoveryTimer is stopped (which might not even be started). After the known devices are reported in the start function, the discoveryTimer is started. This times out 20 seconds later. In the timeout slot, adapterBluez5 is used which is 0 causing a segmentation fault.
Attachments
For Gerrit Dashboard: QTBUG-48481 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
126698,2 | Bluetooth device discovery agent (bluez): Prevent null pointer access. | 5.5 | qt/qtconnectivity | Status: MERGED | +2 | 0 |