Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1700

Null pointer checking missing in QNetworkSession

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 1.1.3
    • Bearer Management
    • None
    • N8 (Symbian Anna)

    Description

      Null pointer checking for d in QNetworkSession in Mobility is missing, causing occasional crashes.

      One crash was found during overnight testing of a third party application (log attached)

      In this particular case, the crash seems to have happend in the following function.

      void QNetworkSession::close()
      {
          d->close();
      }
      

      In QNetworkSession in QtNetwork, d is always checked for validity before it is used. Same thing should be done in Mobility.

      Attachments

        Activity

          People

            jukukkon Juha Kukkonen
            matsumot Tadaaki Matsumoto
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: