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.
91 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1466766: Error handling issues (CHECKED_RETURN)
/mnt/devel/GIT/7.x/core/app/main/digikamapp_import.cpp: 177 in Digikam::DigikamApp::slotImportAddFolders()()
________________________________________________________________________________________________________
*** CID 1466766: Error handling issues (CHECKED_RETURN)
/mnt/devel/GIT/7.x/core/app/main/digikamapp_import.cpp: 177 in Digikam::DigikamApp::slotImportAddFolders()()
171
172 foreach (const QUrl& url, urls)
173 {
174 if (pAlbum->albumRootPath().contains(url.toLocalFile()) ||
175 url.toLocalFile().contains(pAlbum->albumRootPath()))
176 {
>>> CID 1466766: Error handling issues (CHECKED_RETURN)
>>> Calling "warning" without checking return value (as is done elsewhere 36 out of 43 times).
177 QMessageBox::warning(this, qApp->applicationName(),
178 i18n("The folder %1 is part of the album "
179 "path and cannot be imported recursively!",
180 QDir::toNativeSeparators(url.toLocalFile())));
181 return;
182 }
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yp2OAl-2Fauo86CB28HCT0-2BnD-2F6eFMYt863B1-2B0FLvU5y-2FRWSl8rMA4vGwCkGPp0f1hg-3D_8Rc_IpEMwFcbl-2BY9RHaL2m6a3nuAxB4hfm4MTniX0gHjADW9dYbtiZSF35nA1c4Y-2FsIY2kUPX9TG25lQkEbxLzYFoh-2BhjiAxU-2Ft7tmgUynhlIWL9ebUCvkk-2FUuMos727kI6pGoEXpugZqTh8BJLoxgILSDyMc1dJnhtxkMYEMonmYp4Ue3WAgPTdm9Xw2tmBpVRECuEbedcpqBjOdfSP0M8eLssjXPJUqVademsbaUqD4Ro-3D