New Defects reported by Coverity Scan for digiKam
scan-admin at coverity.com
scan-admin at coverity.com
Mon Apr 4 11:23:21 BST 2022
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.
63 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 1503777: Null pointer dereferences (FORWARD_NULL)
________________________________________________________________________________________________________
*** CID 1503777: Null pointer dereferences (FORWARD_NULL)
/home/gilles/Devel/8.x/core/dplugins/generic/tools/mediaserver/upnpsdk/Platinum/Source/Core/PltCtrlPoint.cpp: 1225 in PLT_CtrlPoint::ProcessSsdpMessage(const NPT_HttpMessage &, const NPT_HttpRequestContext &, NPT_String &)()
1219 // (const char*)data->GetFriendlyName(),
1220 // (const char*)location.ToString());
1221 // data->SetURLBase(location);
1222 // }
1223
1224 // renew expiration time
>>> CID 1503777: Null pointer dereferences (FORWARD_NULL)
>>> Passing null pointer "data" to "SetLeaseTime", which dereferences it.
1225 data->SetLeaseTime(leasetime);
1226 NPT_LOG_FINE_1("Device \"%s\" expiration time renewed..",
1227 (const char*)data->GetFriendlyName());
1228
1229 return NPT_SUCCESS;
1230 }
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yp2OAl-2Fauo86CB28HCT0-2BnD-2F6eFMYt863B1-2B0FLvU5y-2FRWSl8rMA4vGwCkGPp0f1hg-3DzUi8_IpEMwFcbl-2BY9RHaL2m6a3nuAxB4hfm4MTniX0gHjADUodwJitoc3qaIfMw-2BcR12SWuOJ3Kar2FBZ2jUStsBYJDNevzKcFjOyiNTRuKGOBlDzBwZmND7Zk-2FraDn4eBfKUbvK-2FmlcfZlbudeWONNUvuM4NUrnPLvoPwcXtEXeQb8k-2BqbpoBjZhbsRLQWQPnNMgSvEWJK3GVb9ZWNg5Os0M3g-3D-3D
More information about the Digikam-devel
mailing list