Hi, Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
2 new defect(s) introduced to LibreOffice found with Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 2 of 2 defect(s) ** CID 1637331: API usage errors (INVALIDATE_ITERATOR) /desktop/source/lib/init.cxx: 7697 in lo_setDocumentPassword(_LibreOfficeKit *, const char *, const char *)() ________________________________________________________________________________________________________ *** CID 1637331: API usage errors (INVALIDATE_ITERATOR) /desktop/source/lib/init.cxx: 7697 in lo_setDocumentPassword(_LibreOfficeKit *, const char *, const char *)() 7691 SetLastExceptionMsg(); 7692 7693 assert(pThis); 7694 assert(pURL); 7695 LibLibreOffice_Impl *const pLib = static_cast<LibLibreOffice_Impl*>(pThis); 7696 assert(pLib->mInteractionMap.contains(OString(pURL))); >>> CID 1637331: API usage errors (INVALIDATE_ITERATOR) >>> Dereferencing iterator "pLib->mInteractionMap.find(rtl::OString(pURL, >>> rtl::libreoffice_internal::Dummy()))" though it is already past the end of >>> its container. 7697 pLib->mInteractionMap.find(OString(pURL))->second->SetPassword(pPassword); 7698 } 7699 7700 static char* lo_getVersionInfo(SAL_UNUSED_PARAMETER LibreOfficeKit* /*pThis*/) 7701 { 7702 SetLastExceptionMsg(); ** CID 1637330: Null pointer dereferences (FORWARD_NULL) ________________________________________________________________________________________________________ *** CID 1637330: Null pointer dereferences (FORWARD_NULL) /sw/source/core/layout/tabfrm.cxx: 489 in lcl_MoveRowContent(SwRowFrame &, SwRowFrame &)() 483 // NEW TABLES 484 SwCellFrame* pDestCell = pCurrDestCell; 485 if ( pDestCell && pDestCell->GetTabBox()->getRowSpan() < 1 ) 486 pDestCell = & const_cast<SwCellFrame&>(pDestCell->FindStartEndOfRowSpanCell( true )); 487 488 // Find last content >>> CID 1637330: Null pointer dereferences (FORWARD_NULL) >>> Passing null pointer "pDestCell" to "GetLastLower", which dereferences >>> it. 489 SwFrame* pFrame = pDestCell->GetLastLower(); 490 ::RestoreContent( pTmp, pDestCell, pFrame ); 491 } 492 } 493 pCurrDestCell = static_cast<SwCellFrame*>(pCurrDestCell->GetNext()); 494 pCurrSourceCell = static_cast<SwCellFrame*>(pCurrSourceCell->GetNext()); ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3DwrV7_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGtCL0CdXzVm6mhQ8HdJgb7QaBpPO-2FsmyapnG-2FBjppShCHbmr-2FjLu5elWPbY88UtE1lnq2F9gDSMr2udxJq-2BaBSDctV-2B8TpsfaBo15s08Ol-2BH-2FEi9nqm-2FlgRHcWQEIiP6Y0XJz78Jmtl679rz25X1scGs56wa-2FFhqocO9UiZMU8PVc-3D