New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sun Dec 3 00:13:59 UTC 2017


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.
2 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 1424910:  Error handling issues  (UNCAUGHT_EXCEPT)
/editeng/source/uno/unotext2.cxx: 378 in SvxUnoTextRangeEnumeration::SvxUnoTextRangeEnumeration(const SvxUnoTextBase &, int, const ESelection &)()


________________________________________________________________________________________________________
*** CID 1424910:  Error handling issues  (UNCAUGHT_EXCEPT)
/editeng/source/uno/unotext2.cxx: 378 in SvxUnoTextRangeEnumeration::SvxUnoTextRangeEnumeration(const SvxUnoTextBase &, int, const ESelection &)()
372     }
373     
374     
375     //  class SvxUnoTextRangeEnumeration
376     
377     
>>>     CID 1424910:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list "throw()" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
378     SvxUnoTextRangeEnumeration::SvxUnoTextRangeEnumeration( const SvxUnoTextBase& rText, sal_Int32 nPara, const ESelection& rSel ) throw()
379     :   mxParentText(  const_cast<SvxUnoTextBase*>(&rText) ),
380         mrParentText( rText ),
381         mnParagraph( nPara ),
382         mnNextPortion( 0 ),
383         mnSel( rSel )

** CID 1424909:  Error handling issues  (UNCAUGHT_EXCEPT)
/sd/source/ui/unoidl/unosrch.cxx: 444 in SdUnoSearchReplaceShape::Search(const com::sun::star::uno::Reference<com::sun::star::text::XTextRange> &, SdUnoSearchReplaceDescriptor *)()


________________________________________________________________________________________________________
*** CID 1424909:  Error handling issues  (UNCAUGHT_EXCEPT)
/sd/source/ui/unoidl/unosrch.cxx: 444 in SdUnoSearchReplaceShape::Search(const com::sun::star::uno::Reference<com::sun::star::text::XTextRange> &, SdUnoSearchReplaceDescriptor *)()
438             }
439         }
440     
441         return xFound;
442     }
443     
>>>     CID 1424909:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list "throw()" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
444     uno::Reference< text::XTextRange >  SdUnoSearchReplaceShape::Search( const uno::Reference< text::XTextRange >&  xText, SdUnoSearchReplaceDescriptor* pDescr ) throw()
445     {
446         if(!xText.is())
447             return uno::Reference< text::XTextRange > ();
448     
449         uno::Reference< text::XText > xParent( xText->getText() );


________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyZIrWGlkG2EmM0G4ZOzbXTB-2FdWm4I2H4TVEhLEpQIysMguRptRh4-2BDIGH8mVdRokjyf35QmdEQZgAy5ZmB-2BuWWrnD3HDIZq1oIlkipkluARRH4goLwSTEQL8zs-2BFkJCuEwkaEf0YC-2BRAqdRUySEQ3Cexb-2BOwxpYRH2v3naLJdtuU-3D

To manage Coverity Scan email notifications for "libreoffice at lists.freedesktop.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4k1FZJSDV-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5lwWgMDuK-2FivqaohkU3M9kT-2Fww10Qt2GoaCJAOQCa0Wv4ijH4oV8jCt0XXa7QeAwh_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyZIrWGlkG2EmM0G4ZOzbXTAB6DDmR1OOEsf5RFKYKuQlhqMggsR29WYWochYrIl1xsQMD6D1HKp267zi7uXnBlVOF8Y0xcK6BF3VRs2cOyg4Cu2v3HFOvaVp1-2BYw0LVzaSApES5Fql-2BGABJH75eJoUOWN6uUKD-2BcuXw-2BNS0MFgZs-3D



More information about the LibreOffice mailing list