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.
8 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 1362470: Error handling issues (CHECKED_RETURN)
/home/gilles/Devel/5.x/extra/kipi-plugins/mediawiki/wmwindow.cpp: 280 in KIPIWikiMediaPlugin::WMWindow::prepareImageForUpload(const QString &)()
________________________________________________________________________________________________________
*** CID 1362470: Error handling issues (CHECKED_RETURN)
/home/gilles/Devel/5.x/extra/kipi-plugins/mediawiki/wmwindow.cpp: 280 in KIPIWikiMediaPlugin::WMWindow::prepareImageForUpload(const QString &)()
274 qCDebug(KIPIPLUGINS_LOG) << "Saving to temp file: " << d->tmpPath;
275 image.save(d->tmpPath, "JPEG", d->widget->quality());
276 }
277 else
278 {
279 // file is copied with its embedded metadata
>>> CID 1362470: Error handling issues (CHECKED_RETURN)
>>> Calling "copy" without checking return value (as is done elsewhere 4 out of 5 times).
280 QFile::copy(imgPath, d->tmpPath);
281 }
282
283 if (iface())
284 {
285 // NOTE : In case of metadata are saved to tmp file, we will override MetadataProcessor settings from KIPI host
________________________________________________________________________________________________________
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