https://bugs.kde.org/show_bug.cgi?id=372872
caulier.gil...@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |caulier.gil...@gmail.com --- Comment #1 from caulier.gil...@gmail.com --- Confirmed by Coverity Static analyzer : 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 1394671: Null pointer dereferences (FORWARD_NULL) /home/gilles/Devel/5.x/core/libs/album/albummanager.cpp: 2080 in Digikam::AlbumManager::findSAlbumsBySearchType(int) const() ________________________________________________________________________________________________________ *** CID 1394671: Null pointer dereferences (FORWARD_NULL) /home/gilles/Devel/5.x/core/libs/album/albummanager.cpp: 2080 in Digikam::AlbumManager::findSAlbumsBySearchType(int) const() 2074 2075 QList<SAlbum*> AlbumManager::findSAlbumsBySearchType(int searchType) const 2076 { 2077 QList<SAlbum*> albums; 2078 for (Album* album = d->rootSAlbum->firstChild(); album; album = album->next()) 2079 { >>> CID 1394671: Null pointer dereferences (FORWARD_NULL) >>> Assigning: "sAlbum" = "dynamic_cast <Digikam::SAlbum *>(album)". 2080 SAlbum* sAlbum = dynamic_cast<SAlbum*>(album); 2081 if (sAlbum->searchType() == searchType) 2082 { 2083 albums.append(sAlbum); 2084 } 2085 } -- You are receiving this mail because: You are watching all bug changes.