New Defects reported by Coverity Scan for digiKam
scan-admin at coverity.com
scan-admin at coverity.com
Fri Feb 14 18:04:24 GMT 2020
Hi,
Please find the latest report on new defect(s) introduced to digiKam found with Coverity Scan.
2 new defect(s) introduced to digiKam found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)
** CID 1458426: (FORWARD_NULL)
________________________________________________________________________________________________________
*** CID 1458426: (FORWARD_NULL)
/home/gilles/Documents/GIT/7.x/core/utilities/geolocation/geoiface/widgets/htmlwidget_qwebengine.cpp: 271 in Digikam::HTMLWidget::eventFilter(QObject *, QEvent *)()
265 QMouseEvent* const e = dynamic_cast<QMouseEvent*>(event);
266
267 if (s->currentMouseMode == MouseModeRegionSelection)
268 {
269 if (!d->firstSelectionPoint.hasCoordinates())
270 {
>>> CID 1458426: (FORWARD_NULL)
>>> Passing null pointer "e" to "x", which dereferences it.
271 runScript2Coordinates(QString::fromLatin1("kgeomapPixelToLatLng(%1, %2);")
272 .arg(e->x())
273 .arg(e->y()),
274 &d->firstSelectionPoint);
275
276 d->firstSelectionScreenPoint = QPoint(e->x(), e->y());
/home/gilles/Documents/GIT/7.x/core/utilities/geolocation/geoiface/widgets/htmlwidget_qwebengine.cpp: 280 in Digikam::HTMLWidget::eventFilter(QObject *, QEvent *)()
274 &d->firstSelectionPoint);
275
276 d->firstSelectionScreenPoint = QPoint(e->x(), e->y());
277 }
278 else
279 {
>>> CID 1458426: (FORWARD_NULL)
>>> Passing null pointer "e" to "x", which dereferences it.
280 runScript2Coordinates(QString::fromLatin1("kgeomapPixelToLatLng(%1, %2);")
281 .arg(e->x())
282 .arg(e->y()),
283 &d->intermediateSelectionPoint);
284
285 d->intermediateSelectionScreenPoint = QPoint(e->x(), e->y());
/home/gilles/Documents/GIT/7.x/core/utilities/geolocation/geoiface/widgets/htmlwidget_qwebengine.cpp: 336 in Digikam::HTMLWidget::eventFilter(QObject *, QEvent *)()
330 {
331 QMouseEvent* const e = dynamic_cast<QMouseEvent*>(event);
332
333 if ((s->currentMouseMode == MouseModeRegionSelection) &&
334 d->firstSelectionPoint.hasCoordinates())
335 {
>>> CID 1458426: (FORWARD_NULL)
>>> Passing null pointer "e" to "x", which dereferences it.
336 runScript2Coordinates(QString::fromLatin1("kgeomapPixelToLatLng(%1, %2);")
337 .arg(e->x())
338 .arg(e->y()),
339 &d->intermediateSelectionPoint);
340
341 d->intermediateSelectionScreenPoint = QPoint(e->x(), e->y());
** CID 1458425: Uninitialized members (UNINIT_CTOR)
/home/gilles/Documents/GIT/7.x/core/dplugins/editor/enhance/hotpixels/blackframelistview.cpp: 62 in DigikamEditorHotPixelsToolPlugin::BlackFrameListViewItem::BlackFrameListViewItem(QTreeWidget *, const QUrl &)()
________________________________________________________________________________________________________
*** CID 1458425: Uninitialized members (UNINIT_CTOR)
/home/gilles/Documents/GIT/7.x/core/dplugins/editor/enhance/hotpixels/blackframelistview.cpp: 62 in DigikamEditorHotPixelsToolPlugin::BlackFrameListViewItem::BlackFrameListViewItem(QTreeWidget *, const QUrl &)()
56
57 connect(m_parser, SIGNAL(signalLoadingProgress(float)),
58 this, SIGNAL(signalLoadingProgress(float)));
59
60 connect(m_parser, SIGNAL(signalLoadingComplete()),
61 this, SIGNAL(signalLoadingComplete()));
>>> CID 1458425: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "m_parser" is not initialized in this constructor nor in any functions that it calls.
62 }
63
64 BlackFrameListViewItem::~BlackFrameListViewItem()
65 {
66 }
67
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklAc1eEA-2F1zfUjH6teExFxByfkNnczn62-2Fi7fqgWZX-2BbNxhtyL5c9g-2BPgAq7MT77OPXJ5d6pc1EDZ78vhX68-3DzsxI_IpEMwFcbl-2BY9RHaL2m6a3nuAxB4hfm4MTniX0gHjADXVaMR5kxFyGOqFlOfdSrj0STeAFZxgdTPEdY3wpupjMuizeV1pdsFvFoRVlfM3O0MHkT-2FdajGVQBxFB3vFzfph8-2FJcssLTyuBoJZmmb5P1RR3KfxXI95wE3tS7H31VdK1PieZrO0SEALzOU9GJWGmg6G8QTRxjMoCOY7-2B7b8-2FySG54KYlKWK1fVaxAfSggjaVXAxRqOGZ8N5w-2F7jGXaKkJ
More information about the Digikam-devel
mailing list