Fix crash in Bluez implementation for QBluetoothSocket
authorAlex Blasche <alexander.blasche@digia.com>
Fri, 24 Jan 2014 13:59:08 +0000 (14:59 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 28 Jan 2014 06:12:40 +0000 (07:12 +0100)
commit29de876f55dc96748fdca8dd3fef0c873791796f
tree3b67056d71ad5071ef7ed3a0dc3d18fccafc0d78
parent7644b7184ab5c304594bb3298c41405374203592
Fix crash in Bluez implementation for QBluetoothSocket

The internal socket was closed but not reset to -1 after calling close()
or abort(). As a consequence the subsequent connect() call crashed since
internal socket notifier were invalid

[ChangeLog][QtBluetooth][QBluetoothSocket] Fixed a crash in Bluez part
of QBluetoothSocket() which was caused when triggered when calling
the sequence connect() - abort() - connect().

Change-Id: I21b779c7808d0a5211df9e2481da28e2e9753ca9
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
src/bluetooth/qbluetoothsocket_bluez.cpp