Hi, Please find the latest report on new defect(s) introduced to digiKam found with Coverity Scan. Defect(s) Reported-by: Coverity Scan Showing 2 of 2 defect(s) ** CID 1221983: Dereference after null check (FORWARD_NULL) /mnt/devel/GIT/3.x/core/digikam/tags/tagsmanager/tagpropwidget.cpp: 252 in Digikam::TagPropWidget::slotSelectionChanged(QList<Digikam::Album *>)() ** CID 1221984: Uninitialized scalar field (UNINIT_CTOR) /mnt/devel/GIT/3.x/extra/kipi-plugins/gpssync/gpssyncdialog.cpp: 145 in KIPIGPSSyncPlugin::MyTrackModelHelper::MyTrackModelHelper(QObject *)() ________________________________________________________________________________________________________ *** CID 1221983: Dereference after null check (FORWARD_NULL) /mnt/devel/GIT/3.x/core/digikam/tags/tagsmanager/tagpropwidget.cpp: 252 in Digikam::TagPropWidget::slotSelectionChanged(QList<Digikam::Album *>)() 246 bool containsRoot = false; 247 248 for(it = albums.begin(); it != albums.end(); ++it) 249 { 250 TAlbum* const temp = dynamic_cast<TAlbum*>(*it); 251 >>> CID 1221983: Dereference after null check (FORWARD_NULL) >>> Comparing "temp" to null implies that "temp" might be null. 252 if (temp) 253 d->selectedAlbums.append(temp); 254 255 if(temp->isRoot()) 256 containsRoot = true; 257 } ________________________________________________________________________________________________________ *** CID 1221984: Uninitialized scalar field (UNINIT_CTOR) /mnt/devel/GIT/3.x/extra/kipi-plugins/gpssync/gpssyncdialog.cpp: 145 in KIPIGPSSyncPlugin::MyTrackModelHelper::MyTrackModelHelper(QObject *)() 139 140 MyTrackModelHelper::MyTrackModelHelper(QObject* parent) 141 : KGeoMap::TrackModelHelper (parent), 142 m_correlatorWidget (0) 143 { 144 >>> CID 1221984: Uninitialized scalar field (UNINIT_CTOR) >>> Non-static class member "m_showTracksOnMap" is not initialized in this constructor nor in any functions that it calls. 145 } 146 147 void MyTrackModelHelper::slotTracksChanged() 148 { 149 emit(signalModelChanged()); 150 } ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, http://scan.coverity.com/projects/285?tab=overview To unsubscribe from the email notification for new defects, http://scan5.coverity.com/cgi-bin/unsubscribe.py _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |