New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sat Dec 11 21:28:23 UTC 2021


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 1495379:    (UNCAUGHT_EXCEPT)
/sw/source/core/layout/frmtool.cxx: 660 in SwFlyNotify::~SwFlyNotify()()
/sw/source/core/layout/frmtool.cxx: 660 in SwFlyNotify::~SwFlyNotify()()


________________________________________________________________________________________________________
*** CID 1495379:    (UNCAUGHT_EXCEPT)
/sw/source/core/layout/frmtool.cxx: 660 in SwFlyNotify::~SwFlyNotify()()
654         // the Writer fly frame is currently registered at.
655         pOldPage( pFlyFrame->GetPageFrame() ),
656         aFrameAndSpace( pFlyFrame->GetObjRectWithSpaces() )
657     {
658     }
659     
>>>     CID 1495379:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list "noexcept" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
660     SwFlyNotify::~SwFlyNotify()
661     {
662         SwFlyFrame *pFly = static_cast<SwFlyFrame*>(mpFrame);
663         if ( pFly->IsNotifyBack() )
664         {
665             SwViewShell *pSh = pFly->getRootFrame()->GetCurrShell();
/sw/source/core/layout/frmtool.cxx: 660 in SwFlyNotify::~SwFlyNotify()()
654         // the Writer fly frame is currently registered at.
655         pOldPage( pFlyFrame->GetPageFrame() ),
656         aFrameAndSpace( pFlyFrame->GetObjRectWithSpaces() )
657     {
658     }
659     
>>>     CID 1495379:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list "noexcept" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
660     SwFlyNotify::~SwFlyNotify()
661     {
662         SwFlyFrame *pFly = static_cast<SwFlyFrame*>(mpFrame);
663         if ( pFly->IsNotifyBack() )
664         {
665             SwViewShell *pSh = pFly->getRootFrame()->GetCurrShell();

** CID 1399158:    (UNCAUGHT_EXCEPT)
/sw/source/core/layout/frmtool.cxx: 474 in SwLayNotify::~SwLayNotify()()
/sw/source/core/layout/frmtool.cxx: 474 in SwLayNotify::~SwLayNotify()()
/sw/source/core/layout/frmtool.cxx: 474 in SwLayNotify::~SwLayNotify()()
/sw/source/core/layout/frmtool.cxx: 474 in SwLayNotify::~SwLayNotify()()


________________________________________________________________________________________________________
*** CID 1399158:    (UNCAUGHT_EXCEPT)
/sw/source/core/layout/frmtool.cxx: 474 in SwLayNotify::~SwLayNotify()()
468             pLowerFrame->InvalidateObjs( false );
469     
470             pLowerFrame = pLowerFrame->GetNext();
471         }
472     }
473     
>>>     CID 1399158:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list "noexcept" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
474     SwLayNotify::~SwLayNotify()
475     {
476         SwLayoutFrame *pLay = static_cast<SwLayoutFrame*>(mpFrame);
477         SwRectFnSet aRectFnSet(pLay);
478         bool bNotify = false;
479         if ( pLay->getFramePrintArea().SSize() != maPrt.SSize() )
/sw/source/core/layout/frmtool.cxx: 474 in SwLayNotify::~SwLayNotify()()
468             pLowerFrame->InvalidateObjs( false );
469     
470             pLowerFrame = pLowerFrame->GetNext();
471         }
472     }
473     
>>>     CID 1399158:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list "noexcept" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
474     SwLayNotify::~SwLayNotify()
475     {
476         SwLayoutFrame *pLay = static_cast<SwLayoutFrame*>(mpFrame);
477         SwRectFnSet aRectFnSet(pLay);
478         bool bNotify = false;
479         if ( pLay->getFramePrintArea().SSize() != maPrt.SSize() )
/sw/source/core/layout/frmtool.cxx: 474 in SwLayNotify::~SwLayNotify()()
468             pLowerFrame->InvalidateObjs( false );
469     
470             pLowerFrame = pLowerFrame->GetNext();
471         }
472     }
473     
>>>     CID 1399158:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list "noexcept" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
474     SwLayNotify::~SwLayNotify()
475     {
476         SwLayoutFrame *pLay = static_cast<SwLayoutFrame*>(mpFrame);
477         SwRectFnSet aRectFnSet(pLay);
478         bool bNotify = false;
479         if ( pLay->getFramePrintArea().SSize() != maPrt.SSize() )
/sw/source/core/layout/frmtool.cxx: 474 in SwLayNotify::~SwLayNotify()()
468             pLowerFrame->InvalidateObjs( false );
469     
470             pLowerFrame = pLowerFrame->GetNext();
471         }
472     }
473     
>>>     CID 1399158:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list "noexcept" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
474     SwLayNotify::~SwLayNotify()
475     {
476         SwLayoutFrame *pLay = static_cast<SwLayoutFrame*>(mpFrame);
477         SwRectFnSet aRectFnSet(pLay);
478         bool bNotify = false;
479         if ( pLay->getFramePrintArea().SSize() != maPrt.SSize() )


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3Dbm7W_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJivBDPf-2By3iQUDB2SyAd02vIIAtmz15qBYJq-2F7gGwhcxmUYEu-2BhDNyaqxNNw2551Y3c759RYR-2F7NFEJIzeVs10CQE3t9l7Nisxp3zL20x-2BjZw2AiyG9Ugo-2BabnlYqq08me0OkTVI6mZaXaCQplnMS6f2T6zeU7lFyJphMRSw0pNaw-3D



More information about the LibreOffice mailing list