Hi,
Please find the latest report on new defect(s) introduced to digiKam found with Coverity Scan.
1 new defect(s) introduced to digiKam found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1355152: Null pointer dereferences (FORWARD_NULL)
/home/gilles/Devel/5.x/extra/kipi-plugins/advancedslideshow/audio/soundtrackpage.cpp: 583 in KIPIAdvancedSlideshowPlugin::SoundtrackPage::slotPreviewButtonClicked()()
________________________________________________________________________________________________________
*** CID 1355152: Null pointer dereferences (FORWARD_NULL)
/home/gilles/Devel/5.x/extra/kipi-plugins/advancedslideshow/audio/soundtrackpage.cpp: 583 in KIPIAdvancedSlideshowPlugin::SoundtrackPage::slotPreviewButtonClicked()()
577 void SoundtrackPage::slotPreviewButtonClicked()
578 {
579 QList<QUrl> urlList;
580
581 for (int i = 0 ; i < m_SoundFilesListBox->count() ; ++i)
582 {
>>> CID 1355152: Null pointer dereferences (FORWARD_NULL)
>>> Assigning: "pitem" = "dynamic_cast <KIPIAdvancedSlideshowPlugin::SoundItem *>(this->m_SoundFilesListBox->item(i))".
583 SoundItem* const pitem = dynamic_cast<SoundItem*>(m_SoundFilesListBox->item(i));
584 QString path = pitem->url().toLocalFile();
585
586 if (!QFile::exists(path))
587 {
588 QMessageBox::critical(this, QString(), i18n("Cannot access file \"%1\". Please check the path is correct.", path));
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://scan.coverity.com/projects/digikam?tab=overviewTo manage Coverity Scan email notifications for "
[hidden email]", click
https://scan.coverity.com/subscriptions/edit?email=digikam-devel%40kde.org&token=621bfe7450f4a870432a2a9c106aa3a8_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel