New Defects reported by Coverity Scan for LibreOffice

classic Classic list List threaded Threaded
1 message Options
scan-admin scan-admin
Reply | Threaded
Open this post in threaded view
|

New Defects reported by Coverity Scan for LibreOffice


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 1417678:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/uibase/dbui/dbmgr.cxx: 805 in SwDBManager::~SwDBManager()()


________________________________________________________________________________________________________
*** CID 1417678:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/uibase/dbui/dbmgr.cxx: 805 in SwDBManager::~SwDBManager()()
799         , pImpl(new SwDBManager_Impl(*this))
800         , pMergeEvtSrc(nullptr)
801         , m_pDoc(pDoc)
802     {
803     }
804    
>>>     CID 1417678:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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().
805     SwDBManager::~SwDBManager()
806     {
807         RevokeLastRegistrations();
808    
809         // copy required, m_DataSourceParams can be modified while disposing components
810         std::vector<uno::Reference<sdbc::XConnection>> aCopiedConnections;

** CID 1078469:  Error handling issues  (CHECKED_RETURN)
/reportdesign/source/ui/inspection/GeometryHandler.cxx: 1899 in rptui::GeometryHandler::impl_isDefaultFunction_nothrow(const com::sun::star::uno::Reference<com::sun::star::report::XFunction> &, rtl::OUString &, rtl::OUString &) const()


________________________________________________________________________________________________________
*** CID 1078469:  Error handling issues  (CHECKED_RETURN)
/reportdesign/source/ui/inspection/GeometryHandler.cxx: 1899 in rptui::GeometryHandler::impl_isDefaultFunction_nothrow(const com::sun::star::uno::Reference<com::sun::star::report::XFunction> &, rtl::OUString &, rtl::OUString &) const()
1893                 sal_Int32 start = 0;
1894                 sal_Int32 end = sFormula.getLength();
1895                 if ( aTextSearch.SearchForward(sFormula,&start,&end) && start == 0 && end == sFormula.getLength()) // default function found
1896                 {
1897                     aSearchOptions.searchString = "\\[[:alpha:]+([:space:]*[:alnum:]*)*\\]";
1898                     utl::TextSearch aDataSearch( aSearchOptions);
>>>     CID 1078469:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "SearchForward" without checking return value (as is done elsewhere 20 out of 25 times).
1899                     aDataSearch.SearchForward(sFormula,&start,&end );
1900                     ++start;
1901                     _rDataField = sFormula.copy(start,end-start-1);
1902                     _rsDefaultFunctionName = aIter->m_sName;
1903                     break;
1904                 }


________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpy2qWdtUsJf5fe18Sf2m7v2a7mVo5Djp6ZB1Dvuk1bdOiShrFLckprT8FAJNm-2FYVtWjWCW4S7u2m6yqGwWakpq8eqyouAk-2Fi6BH9s7pHvRCd4uqNCVEZPCoUdfxXwxUm8rpVSCE8zqJ7cJK2Ik4t4FORAv2VhG4uk3xgQnJ-2BYh6Ck-3D

To manage Coverity Scan email notifications for "[hidden email]", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4k1FZJSDV-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5lwWgMDuK-2FivqaohkU3M9kT-2Fww10Qt2GoaCJAOQCa0Wv4ijH4oV8jCt0XXa7QeAwh_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpy2qWdtUsJf5fe18Sf2m7v2b5YLdN1BxyJmusGLsCZqitEPJmdxciRSNbPuQ8YmtIkmnw01Q3UpGR8Lu1SuSLUKcSBXWaQs-2B9Q6mltlw1nev6bInseqI6VPOQbcxA5LbCK6RcDWIpFb5KRaYW6dlvN4Clz5Y-2BKyZ0POZptv02gyts-3D

_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice