We have seen some crashes in O2Requestor::onRequestFinished(). When the sender() is cast to QNetworkReply*, the pointer is not checked and this can led to a NULL dereference when calling senderReply->error().
The fix consists of performing the safety checks in the same order as O2Requestor::onRequestError(). The pointer dereference occurs only after reply_ == senderReply which should prevent the crash.
We have seen some crashes in O2Requestor::onRequestFinished(). When the sender() is cast to QNetworkReply*, the pointer is not checked and this can led to a NULL dereference when calling senderReply->error().
The fix consists of performing the safety checks in the same order as O2Requestor::onRequestError(). The pointer dereference occurs only after reply_ == senderReply which should prevent the crash.