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

<coverity> defects from qt-mobility/1.1.1_git20110106_0m6 [Bugzilla 220661]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.1.1
    • 1.1.1
    • Organizer
    • None
    • fd9fba2e7ec86927af36d164c176856e99e77885 685569069e682d0a4f44f112496d472fa472acd2

    Description

      Sriram Jagadeesh (TCS) 2011-01-20 13:16:48 EET

      SOFTWARE VERSION:
      qt-mobility/1.1.1_git20110106_0m6

      Please fix the following coverity defect found in latest run.

      CID: 38875
      Checker: FORWARD_NULL
      Function:
      QtMobility::QOrganizerItemMemoryEngine::saveItems(QList<QtMobility::QOrganizerItem>
      *, QMap<int, QtMobility::QOrganizerManager::Error> *,
      QtMobility::QOrganizerManager::Error *)
      File:
      /home/covharmattan/cov-build/harmattan/qt-mobility/1.1.1_git20110106_0m6/src/organizer/engines/qorganizeritemmemorybackend.cpp
      if (!saveItem(&current, changeSet, error))

      { 1206 operationError = *error; Event var_deref_model: Variable "errorMap" tracked as NULL was passed to function "QMap<int, QtMobility::QOrganizerManager::Error>::insert(const int &, const QtMobility::QOrganizerManager::Error &)" that dereferences it. [details] 1207 errorMap->insert(i, operationError); 1208 }

      Variable "errorMap" tracked as NULL was passed to function "QMap<int,
      QtMobility::QOrganizerManager::Error>::insert(const int &, const
      QtMobility::QOrganizerManager::Error &)" that dereferences it.

      [reply] [-] Comment 1 Kurkisuo Niklas (Tieto) 2011-01-21 08:59:30 EET

      Created MR http://qt.gitorious.org/qt-mobility/qt-mobility/merge_requests/26

      Setting state to WAITING.

      Attachments

        Activity

          People

            chriadam Christopher Adams (closed Nokia identity) (Inactive)
            asifzubair Asif Zubair Bhatti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: