[Digikam-devel] New Defects reported by Coverity Scan for digiKam

scan-admin at coverity.com scan-admin at coverity.com
Fri Feb 6 12:00:24 GMT 2015


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 1268283:  Non-array delete for scalars  (DELETE_ARRAY)
/mnt/devel/GIT/4.x/core/libs/database/imgqsort/imgqsort.cpp: 346 in Digikam::ImgQSort::blurdetector() const()


________________________________________________________________________________________________________
*** CID 1268283:  Non-array delete for scalars  (DELETE_ARRAY)
/mnt/devel/GIT/4.x/core/libs/database/imgqsort/imgqsort.cpp: 346 in Digikam::ImgQSort::blurdetector() const()
340         double blurresult = average / maxval;
341     
342         kDebug() << "The average of the edge intensity is " << average;
343         kDebug() << "The maximum of the edge intensity is " << maxval;
344         kDebug() << "The result of the edge intensity is  " << blurresult;
345     
>>>     CID 1268283:  Non-array delete for scalars  (DELETE_ARRAY)
>>>     Deleting array variable "maxIdx" with non-array delete in "delete maxIdx".
346         delete maxIdx;
347         return blurresult;
348     }
349     
350     short ImgQSort::blurdetector2() const
351     {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/285?tab=overview

To manage Coverity Scan email notifications for "digikam-devel at kde.org", click https://scan.coverity.com/subscriptions/edit?email=digikam-devel%40kde.org&token=621bfe7450f4a870432a2a9c106aa3a8 .




More information about the Digikam-devel mailing list