[Digikam-devel] New Defects reported by Coverity Scan for digiKam

scan-admin at coverity.com scan-admin at coverity.com
Thu Jul 17 17:06:28 BST 2014


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 1226418:  Uninitialized pointer field  (UNINIT_CTOR)
/mnt/devel/GIT/4.x/core/utilities/kipiiface/kipiimagecollectionselector.cpp: 72 in Digikam::KipiImageCollectionSelector::Private::Private()()

** CID 1226419:  Uninitialized scalar field  (UNINIT_CTOR)
/mnt/devel/GIT/4.x/core/digikam/album/albumlabelstreeview.cpp: 439 in Digikam::AlbumLabelsSearchHandler::Private::Private()()


________________________________________________________________________________________________________
*** CID 1226418:  Uninitialized pointer field  (UNINIT_CTOR)
/mnt/devel/GIT/4.x/core/utilities/kipiiface/kipiimagecollectionselector.cpp: 72 in Digikam::KipiImageCollectionSelector::Private::Private()()
66             searchTreeView(0),
67             iface(0),
68             albumSearchBar(0),
69             tagSearchBar(0),
70             searchSearchBar(0)
71         {
>>>     CID 1226418:  Uninitialized pointer field  (UNINIT_CTOR)
>>>     Non-static class member "labelsSearchHandler" is not initialized in this constructor nor in any functions that it calls.
72         }
73     
74         void prepareTreeView(AbstractCheckableAlbumTreeView* const treeView)
75         {
76     
77             treeView->checkableModel()->setShowCount(false);

________________________________________________________________________________________________________
*** CID 1226419:  Uninitialized scalar field  (UNINIT_CTOR)
/mnt/devel/GIT/4.x/core/digikam/album/albumlabelstreeview.cpp: 439 in Digikam::AlbumLabelsSearchHandler::Private::Private()()
433     public:
434     
435         Private() :
436             treeWidget(0),
437             restoringSelectionFromHistory(0),
438             albumForSelectedItems(0)
>>>     CID 1226419:  Uninitialized scalar field  (UNINIT_CTOR)
>>>     Non-static class member "currentXmlIsEmpty" is not initialized in this constructor nor in any functions that it calls.
439         {}
440     
441     
442         AlbumLabelsTreeView* treeWidget;
443         bool                 restoringSelectionFromHistory;
444         bool                 currentXmlIsEmpty;


________________________________________________________________________________________________________
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






More information about the Digikam-devel mailing list