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. 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 1476301: Null pointer dereferences (NULL_RETURNS) /starmath/source/edit.cxx: 788 in SmEditTextWindow::UpdateStatus(bool)() ________________________________________________________________________________________________________ *** CID 1476301: Null pointer dereferences (NULL_RETURNS) /starmath/source/edit.cxx: 788 in SmEditTextWindow::UpdateStatus(bool)() 782 void SmEditTextWindow::UpdateStatus(bool bSetDocModified) 783 { 784 SmModule *pMod = SM_MOD(); 785 if (pMod && pMod->GetConfig()->IsAutoRedraw()) 786 Flush(); 787 if ( bSetDocModified ) >>> CID 1476301: Null pointer dereferences (NULL_RETURNS) >>> Dereferencing a pointer that might be "nullptr" "this->mrEditWindow->GetDoc()" when calling "SetModified". (The dereference happens because this is a virtual function call.) 788 mrEditWindow.GetDoc()->SetModified(); 789 } 790 791 void SmEditWindow::Cut() 792 { 793 if (mxTextControl) ** CID 1476300: Null pointer dereferences (FORWARD_NULL) ________________________________________________________________________________________________________ *** CID 1476300: Null pointer dereferences (FORWARD_NULL) /svx/source/svdraw/svdmrkv.cxx: 811 in SdrMarkView::SetMarkHandlesForLOKit(const tools::Rectangle &, const SfxViewShell *)() 805 { 806 auto& rTableObject = dynamic_cast<sdr::table::SdrTableObj&>(*mpMarkedObj); 807 bTableSelection = rTableObject.createTableEdgesJson(aTableJsonTree); 808 } 809 if (mpMarkedObj && mpMarkedObj->GetObjIdentifier() == OBJ_EDGE) 810 { >>> CID 1476300: Null pointer dereferences (FORWARD_NULL) >>> "dumpGluePointsToJSON" dereferences null "this->mpMarkedPV". 811 bConnectorSelection = dumpGluePointsToJSON(aGluePointsTree); 812 } 813 if (GetMarkedObjectCount()) 814 { 815 SdrMark* pM = GetSdrMarkByIndex(0); 816 SdrObject* pO = pM->GetMarkedSdrObj(); ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3D16Ot_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJibfe-2BvtHAh-2B0LdXsIiymWiwf7NZfOvl4Jf4NBG1zXR0MCAtIcjxoQwls228ENf40eDr8jb7flAePvfBMk95IqPnfUm7a8xORdjsUBt7zSuPWFygD-2FeYoX9cayGfl174obYpxMOxW-2Ffw1o2bneJYv04gF0VXTtWk-2Baw6-2Bk0p1-2FIC0-3D _______________________________________________ LibreOffice mailing list LibreOffice@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/libreoffice