summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergyserviceprivate.cpp
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2017-08-01 15:44:13 +0200
committerOliver Wolff <oliver.wolff@qt.io>2017-08-02 05:55:48 +0000
commite9cb913a37318284353790f46edc648a630d758f (patch)
treec1cfbc86c1ae9c91baee6dbd35960ad0cf72f3f8 /src/bluetooth/qlowenergyserviceprivate.cpp
parent8646dd8a830225b1697dc1cafff32bba0ade84c5 (diff)
winrt: Check for valid m_socketObject before accessing socket information
If the socket was created without giving the socket type, ensureNativeSocket was not called and thus m_socketObject is 0. Calling localName and friends caused a crash because they accesses the object unconditionally. Change-Id: I442e3d1492458161fb8660f1b2f17d52b37a2935 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/bluetooth/qlowenergyserviceprivate.cpp')
0 files changed, 0 insertions, 0 deletions