New Defects reported by Coverity Scan for digiKam
scan-admin at coverity.com
scan-admin at coverity.com
Sun Apr 20 14:52:11 BST 2025
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.
1 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 2 of 2 defect(s)
** CID 1646577: Null pointer dereferences (FORWARD_NULL)
________________________________________________________________________________________________________
*** CID 1646577: Null pointer dereferences (FORWARD_NULL)
/home/gilles/devel/GIT/8.x/core/libs/threadimageio/fileio/loadsavetask.cpp: 148 in Digikam::SharedLoadingTask::execute()()
142 {
143 cachedImg = nullptr;
144 }
145
146 if (m_loadingDescription.needCheckRawDecoding())
147 {
>>> CID 1646577: Null pointer dereferences (FORWARD_NULL)
>>> Passing null pointer "cachedImg" to "rawDecodingSettings", which dereferences it.
148 if (cachedImg->rawDecodingSettings() == m_loadingDescription.rawDecodingSettings)
149 {
150 break;
151 }
152 else
153 {
** CID 1646576: Null pointer dereferences (FORWARD_NULL)
________________________________________________________________________________________________________
*** CID 1646576: Null pointer dereferences (FORWARD_NULL)
/home/gilles/devel/GIT/8.x/core/libs/threadimageio/preview/previewtask.cpp: 81 in Digikam::PreviewLoadingTask::execute()()
75 {
76 cachedImg = nullptr;
77 }
78
79 if (m_loadingDescription.needCheckRawDecoding())
80 {
>>> CID 1646576: Null pointer dereferences (FORWARD_NULL)
>>> Passing null pointer "cachedImg" to "rawDecodingSettings", which dereferences it.
81 if (cachedImg->rawDecodingSettings() == m_loadingDescription.rawDecodingSettings)
82 {
83 break;
84 }
85 else
86 {
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/digikam?tab=overview
More information about the Digikam-devel
mailing list