New Defects reported by Coverity Scan for LibreOffice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
5 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 1441484:  Control flow issues  (DEADCODE)
/sw/source/ui/chrdlg/swuiccoll.cxx: 247 in SwCondCollPage::SelectHdl(const weld::Widget *)()


________________________________________________________________________________________________________
*** CID 1441484:  Control flow issues  (DEADCODE)
/sw/source/ui/chrdlg/swuiccoll.cxx: 247 in SwCondCollPage::SelectHdl(const weld::Widget *)()
241                     m_xStyleLB->append_text(pBase->GetName());
242                     bEmpty = false;
243                 }
244                 pBase = pPool->Next();
245             }
246             if (!bEmpty)
>>>     CID 1441484:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach the expression "-1" inside this statement: "this->m_xStyleLB->select((b...".
247                 m_xStyleLB->select(bEmpty ? -1 : 0);
248             SelectHdl(m_xStyleLB.get());
249         }
250         else
251         {
252             int nSelected = m_xTbLinks->get_selected_index();

** CID 1441483:  API usage errors  (INVALIDATE_ITERATOR)
/svx/source/accessibility/ChildrenManagerImpl.cxx: 745 in accessibility::ChildrenManagerImpl::ReplaceChild(accessibility::AccessibleShape *, const com::sun::star::uno::Reference<com::sun::star::drawing::XShape> &, long, const accessibility::AccessibleShapeTreeInfo &)()


________________________________________________________________________________________________________
*** CID 1441483:  API usage errors  (INVALIDATE_ITERATOR)
/svx/source/accessibility/ChildrenManagerImpl.cxx: 745 in accessibility::ChildrenManagerImpl::ReplaceChild(accessibility::AccessibleShape *, const com::sun::star::uno::Reference<com::sun::star::drawing::XShape> &, long, const accessibility::AccessibleShapeTreeInfo &)()
739     
740         bool bResult = I != maVisibleChildren.end();
741         if (bResult)
742         {
743             // Dispose the current child and send an event about its deletion.
744             pCurrentChild->dispose();
>>>     CID 1441483:  API usage errors  (INVALIDATE_ITERATOR)
>>>     Dereferencing iterator "I" though it is already past the end of its container.
745             mrContext.CommitChange (
746                 AccessibleEventId::CHILD,
747                 uno::Any(),
748                 uno::makeAny (I->mxAccessibleShape));
749     
750             // Replace with replacement and send an event about existence


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZBnDJeNb0HijxaS4JNJPxk3kpyAm2AYqo71yXmnOxB72ibeUH-2F-2F1Lhi9AZq3dRu-2F4-3D_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyqUcLQTB-2FWiMN37Dhqh8FvKyo3BiWom4o0RgySJTcDOecT17spWWE6qA3Uk5e-2FZdQHsejmheBSSZkpIfUtg-2F-2FoRo2bQ8Bpz3bOQ1oeKzvlAYRaz3TyLyvHTeQ9mERYBSrvooFasy-2FRyFixxBxjZXy0ePyjeGH3ASyWSu40StJVH4-3D

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux