Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found
with Coverity Scan.
4 new defect(s) introduced to LibreOffice found with Coverity Scan.
1469 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 4 of 4 defect(s)
** CID 1371622: Uninitialized members (UNINIT_CTOR)
/connectivity/source/drivers/firebird/Connection.cxx: 118 in
connectivity::firebird::Connection::Connection(connectivity::firebird::FirebirdDriver
*)()
________________________________________________________________________________________________________
*** CID 1371622: Uninitialized members (UNINIT_CTOR)
/connectivity/source/drivers/firebird/Connection.cxx: 118 in
connectivity::firebird::Connection::Connection(connectivity::firebird::FirebirdDriver
*)()
112 , m_aTransactionHandle(nullptr)
113 #endif
114 , m_xCatalog(nullptr)
115 , m_xMetaData(nullptr)
116 , m_aStatements()
117 {
>>> CID 1371622: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "m_bIsFbkStored" is not initialized in this
>>> constructor nor in any functions that it calls.
118 }
119
120 Connection::~Connection()
121 {
122 if(!isClosed())
123 close();
** CID 1371621: Error handling issues (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/firebird/Connection.cxx: 828 in
connectivity::firebird::Connection::documentEventOccured(const
com::sun::star::document::DocumentEvent &)()
________________________________________________________________________________________________________
*** CID 1371621: Error handling issues (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/firebird/Connection.cxx: 828 in
connectivity::firebird::Connection::documentEventOccured(const
com::sun::star::document::DocumentEvent &)()
822 void SAL_CALL Connection::clearWarnings( ) throw(SQLException,
RuntimeException, std::exception)
823 {
824 // you should clear your collected warnings here
825 }
826
827 // XDocumentEventListener
>>> CID 1371621: Error handling issues (UNCAUGHT_EXCEPT)
>>> An exception of type "com::sun::star::sdbc::SQLException" is thrown but
>>> the throw list "throw(com::sun::star::uno::RuntimeException,
>>> std::exception)" doesn't allow it to be thrown. This will cause a call to
>>> unexpected() which usually calls terminate().
828 void SAL_CALL Connection::documentEventOccured( const DocumentEvent&
Event )
829
throw(RuntimeException, std::exception)
830 {
831 MutexGuard aGuard(m_aMutex);
832
833 if (!m_bIsEmbedded)
** CID 1371620: Error handling issues (UNCAUGHT_EXCEPT)
/sw/source/core/unocore/unoredline.cxx: 279 in
SwXRedlinePortion::GetPropertyValue(const rtl::OUString &, const SwRangeRedline
&)()
________________________________________________________________________________________________________
*** CID 1371620: Error handling issues (UNCAUGHT_EXCEPT)
/sw/source/core/unocore/unoredline.cxx: 279 in
SwXRedlinePortion::GetPropertyValue(const rtl::OUString &, const SwRangeRedline
&)()
273
274 uno::Sequence< sal_Int8 > SAL_CALL
SwXRedlinePortion::getImplementationId( ) throw(uno::RuntimeException,
std::exception)
275 {
276 return css::uno::Sequence<sal_Int8>();
277 }
278
>>> CID 1371620: Error handling issues (UNCAUGHT_EXCEPT)
>>> An exception of type "std::length_error" 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().
279 uno::Any SwXRedlinePortion::GetPropertyValue( const OUString&
rPropertyName, const SwRangeRedline& rRedline ) throw()
280 {
281 uno::Any aRet;
282 if(rPropertyName == UNO_NAME_REDLINE_AUTHOR)
283 aRet <<= rRedline.GetAuthorString();
284 else if(rPropertyName == UNO_NAME_REDLINE_DATE_TIME)
** CID 1371619: Error handling issues (UNCAUGHT_EXCEPT)
/sw/source/core/unocore/unoredline.cxx: 317 in
SwXRedlinePortion::CreateRedlineProperties(const SwRangeRedline &, bool)()
________________________________________________________________________________________________________
*** CID 1371619: Error handling issues (UNCAUGHT_EXCEPT)
/sw/source/core/unocore/unoredline.cxx: 317 in
SwXRedlinePortion::CreateRedlineProperties(const SwRangeRedline &, bool)()
311 {
312 aRet <<= !rRedline.IsDelLastPara();
313 }
314 return aRet;
315 }
316
>>> CID 1371619: Error handling issues (UNCAUGHT_EXCEPT)
>>> An exception of type "std::length_error" 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().
317 uno::Sequence< beans::PropertyValue >
SwXRedlinePortion::CreateRedlineProperties(
318 const SwRangeRedline& rRedline, bool bIsStart ) throw()
319 {
320 uno::Sequence< beans::PropertyValue > aRet(12);
321 const SwRedlineData* pNext = rRedline.GetRedlineData().Next();
322 beans::PropertyValue* pRet = aRet.getArray();
________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpy9iQLY0adQR7yOtMr0UWmftRDWwjKRj-2BKmmVFmcRqpYVEO67OizqCbkGozZTpqyBLO96nrhZmNyqyWrCrqYHkLU6HDoiIIhAmsB2Vz4W1eCpE00wYXaqVpLiAV7ZBvhbpEQFQkXnvfIHj430ZFoX8VClU0-2BnpBa-2F8j0tJoZpIc4s-3D
To manage Coverity Scan email notifications for
"[email protected]", click
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4k1FZJSDV-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5N5X-2B1MAElavPQhH6nLwozJzqOkt2k8uOkYf2ZoppNa9QVe0T3fEZVQ7Kky1tOkLz_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpy9iQLY0adQR7yOtMr0UWmflelEK8w72sVwcmxwA1bK-2FdBFws-2FPU7E-2B2YdIqV1N2Si-2F5Zi2vT35VKa9y6turMLE8FJNETE-2B4sB6iZs90SjSSMDwR11zkGSEc1j2qMQ2OF3WuqHaOCScuiAPsVz9EVQIGBvAOCwCX-2BZB5kWafc4KUg-3D
_______________________________________________
LibreOffice mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice