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

Null pointer checking missing in QNetworkSession

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.3
    • Fix Version/s: None
    • Component/s: Bearer Management
    • Labels:
      None
    • Environment:
      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

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes