New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Wed Jan 8 07:07:32 UTC 2025
Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
1 new defect(s) introduced to LibreOffice found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1638256: Null pointer dereferences (FORWARD_NULL)
/sw/source/core/fields/docufld.cxx: 2291 in SwRefPageGetFieldType::SwClientNotify(const SwModify &, const SfxHint &)()
________________________________________________________________________________________________________
*** CID 1638256: Null pointer dereferences (FORWARD_NULL)
/sw/source/core/fields/docufld.cxx: 2291 in SwRefPageGetFieldType::SwClientNotify(const SwModify &, const SfxHint &)()
2285 for(auto pFormatField: vFields)
2286 UpdateField(pFormatField->GetTextField(), aTmpLst, pLayout);
2287 }
2288 };
2289
2290 // update all GetReference fields
>>> CID 1638256: Null pointer dereferences (FORWARD_NULL)
>>> Dereferencing null pointer "pChangeHint".
2291 if( (pLegacy && !pLegacy->m_pNew && !pLegacy->m_pOld && HasWriterListeners())
2292 || (!pChangeHint->m_pNew && !pChangeHint->m_pOld && HasWriterListeners()))
2293 {
2294 SwRootFrame const* pLayout(nullptr);
2295 SwRootFrame const* pLayoutRLHidden(nullptr);
2296 for (SwRootFrame const*const pLay : m_rDoc.GetAllLayouts())
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, http://url2497.blackduck.com/ls/click?upn=u001.Ji18sHaXCxZb7Rfw8sC51j9Suwl84vq-2FeHTSxCm409PgV-2BgtLQew0iCdGmwnoGphEuBjI6-2FVO7wLojrRBYaE0Alg3Y0-2F5TqGlQEQ8dzyIUg-3DqdyZ_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGtfZpdabz1hCE5vJFrNmzPaoHli1bvBNuZld3ipZuRd4EugwpLpcUqEL6mVFIj3YHJUvLgEkrzFFQ7k0xGKtbdSW-2Bk-2BkDrq9CSmMQagKlD3bAtWCJTGO5DD2-2BfN5A8LAIfb1HX9gXUpyfH7ANs3MtSk1-2BuG-2FB-2FveIppEP0BdOK5-2Bw-3D
More information about the LibreOffice
mailing list