New Defects reported by Coverity Scan for digiKam
scan-admin at coverity.com
scan-admin at coverity.com
Fri Dec 27 06:09:56 GMT 2024
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 1637074: Null pointer dereferences (FORWARD_NULL)
________________________________________________________________________________________________________
*** CID 1637074: Null pointer dereferences (FORWARD_NULL)
/home/gilles/Devel/8.x/core/utilities/facemanagement/pipelines/facepipelinebase.cpp: 252 in Digikam::FacePipelineBase::enqueue(Digikam::SharedQueue<Digikam::MLPipelinePackageFoundation *> *, Digikam::MLPipelinePackageFoundation *)()
246 {
247 // calculate the package size. Only big items need to be checked
248
249 package->size = static_cast<FacePipelinePackageBase*>(package)->image.size().width() * static_cast<FacePipelinePackageBase*>(package)->image.size().height() * 4;
250 }
251
>>> CID 1637074: Null pointer dereferences (FORWARD_NULL)
>>> Passing null pointer "package" to "enqueue", which dereferences it.
252 return MLPipelineFoundation::enqueue(thisQueue, package);
253 }
254
255 } // namespace Digikam
256
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu4yJUfIaFVfulX1EnArvLvmGJ18AyhOhOJnWywYkUuR-2BHL458rbL5b5DiAzhSjilZ8-3DfP3y_wUwU8mg96yc-2FA1IAMQ6mJ-2FFdQ9EM-2BFY-2BXFbSpXNYnfw8dSKMlW3dJLFWHOIEh0wkzYw-2B8kPnat5KurfW7NSNWUawTwDgosEcp6g32o0psub8s-2FfSc6bbCG5nIp-2FYWlurYwtgQmIIvCpP5D311wjXakB1rqiUYwcqbaQajZSHWtARU3nOmRAadG-2FBU3QwFSwXpF44WqR4etorHJum6-2F6P0g-3D-3D
More information about the Digikam-devel
mailing list