Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.0 Beta
-
48f25caac4ba0ae3a0f7c556a434a7714c028354
Description
The following line is causing a crash in QTcpServer::nextPendingConnection if QTcpServer instance doesn't listen (socketEngine is null).
if (!d->socketEngine->isReadNotificationEnabled())
With the nullptr check for d->socketEngine it wouldn't cause this crash anymore.
if (d->socketEngine && !d->socketEngine->isReadNotificationEnabled())