qt5base-lts/tests/auto/network/socket/qudpsocket
Alex Trotsenko 0872156559 QAbstractSocket: fix writing to socket in HostLookup state
After calling connectToHost(), the socket enters HostLookup state. At this
stage, the socket engine was not created yet, and writing to the socket
should result in either data buffering or an error. So, add a check for
d->socketEngine to prevent a crash on unbuffered sockets.

Task-number: QTBUG-48356
Change-Id: I15ea9ce7de97ce6d7e13e358eca5350745b556bb
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Richard J. Moore <rich@kde.org>
2015-10-13 05:20:08 +00:00
..
clientserver Update copyright headers 2015-02-11 06:49:51 +00:00
test QtNetwork tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2014-02-25 16:47:13 +01:00
udpServer Update copyright headers 2015-02-11 06:49:51 +00:00
.gitignore Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
qudpsocket.pro Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
tst_qudpsocket.cpp QAbstractSocket: fix writing to socket in HostLookup state 2015-10-13 05:20:08 +00:00