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

scan-admin at coverity.com scan-admin at coverity.com
Tue Dec 3 19:31:38 GMT 2013


Hi,


Please find the latest report on new defect(s) introduced to digiKam found with Coverity Scan.

Defect(s) Reported-by: Coverity Scan
Showing 7 of 7 defect(s)


** CID 1135318:  Mixing enum types  (MIXED_ENUMS)
/mnt/devel/GIT/3.x/core/showfoto/thumbbar/showfotoitemsortsettings.cpp: 103 in ShowFoto::ShowfotoItemSortSettings::setSortOrder(ShowFoto::ShowfotoItemSortSettings::SortOrder)()

** CID 1135319:  Mixing enum types  (MIXED_ENUMS)
/mnt/devel/GIT/3.x/core/showfoto/thumbbar/showfotoitemsortsettings.cpp: 79 in ShowFoto::ShowfotoItemSortSettings::setCategorizationSortOrder(ShowFoto::ShowfotoItemSortSettings::SortOrder)()

** CID 1135320:  Big parameter passed by value  (PASS_BY_VALUE)
/mnt/devel/GIT/3.x/core/showfoto/thumbbar/showfotothumbnailmodel.cpp: 243 in ShowFoto::ShowfotoThumbnailModel::getThumbnail(ShowFoto::ShowfotoItemInfo, QImage &) const()

** CID 1135321:  Uninitialized scalar field  (UNINIT_CTOR)
/mnt/devel/GIT/3.x/core/digikam/utils/albumsettings.cpp: 138 in Digikam::AlbumSettings::Private::Private()()

** CID 1135322:  Uninitialized scalar field  (UNINIT_CTOR)
/mnt/devel/GIT/3.x/core/showfoto/thumbbar/showfotoiteminfo.cpp: 39 in ShowFoto::ShowfotoItemInfo::ShowfotoItemInfo()()

** CID 981503:  Use after free  (USE_AFTER_FREE)
/mnt/devel/GIT/3.x/core/utilities/imageeditor/q3support/canvas.cpp: 565 in Digikam::Canvas::paintViewport(const QRect &, bool)()
/mnt/devel/GIT/3.x/core/utilities/imageeditor/q3support/canvas.cpp: 572 in Digikam::Canvas::paintViewport(const QRect &, bool)()

** CID 981504:  Use after free  (USE_AFTER_FREE)
/mnt/devel/GIT/3.x/core/utilities/imageeditor/q3support/previewwidget.cpp: 584 in Digikam::PreviewWidget::viewportPaintEvent(QPaintEvent *)()




________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, http://scan.coverity.com

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