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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.7.0, 4.7.1, 4.7.2, 4.7.3, 4.7.4
    • None
    • WindowsXP Windows7 Linux

      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! 

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

            xizzhu Xizhi Zhu (Steven)
            warken Roman Krivochkin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes