Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-20997

accessPointConfigurations which is defined in bearerengine_p.h is used without being initialized in *engine.cpp

XMLWordPrintable

      qgenericengine.cpp
      void QGenericEngine::doRequestUpdate()
      {
      #ifndef QT_NO_NETWORKINTERFACE
          QMutexLocker locker(&mutex);
      
          // Immediately after connecting with a wireless access point
          // QNetworkInterface::allInterfaces() will sometimes return an empty list. Calling it again a
          // second time results in a non-empty list. If we loose interfaces we will end up removing
          // network configurations which will break current sessions.
          QList<QNetworkInterface> interfaces = QNetworkInterface::allInterfaces();
          if (interfaces.isEmpty())
              interfaces = QNetworkInterface::allInterfaces();
       QStringList previous = accessPointConfigurations.keys();   // this line causes crash! 

      https://bugreports.qt.nokia.com/browse/QTBUG-17567

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            cristiano cristiano di flora
            warken Roman Krivochkin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes