New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Mon May 8 15:59:22 UTC 2017
Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
5 new defect(s) introduced to LibreOffice found with Coverity Scan.
12 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 5 of 5 defect(s)
** CID 1405937: Error handling issues (UNCAUGHT_EXCEPT)
/usr/include/c++/6.3.1/bits/shared_ptr_base.h: 371 in std::_Sp_counted_ptr<pcr::OBrowserLine *, (__gnu_cxx::_Lock_policy)2>::_M_dispose()()
________________________________________________________________________________________________________
*** CID 1405937: Error handling issues (UNCAUGHT_EXCEPT)
/usr/include/c++/6.3.1/bits/shared_ptr_base.h: 371 in std::_Sp_counted_ptr<pcr::OBrowserLine *, (__gnu_cxx::_Lock_policy)2>::_M_dispose()()
365 public:
366 explicit
367 _Sp_counted_ptr(_Ptr __p) noexcept
368 : _M_ptr(__p) { }
369
370 virtual void
>>> CID 1405937: Error handling issues (UNCAUGHT_EXCEPT)
>>> An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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().
371 _M_dispose() noexcept
372 { delete _M_ptr; }
373
374 virtual void
375 _M_destroy() noexcept
376 { delete this; }
** CID 1405936: Error handling issues (UNCAUGHT_EXCEPT)
/sw/source/core/ole/ndole.cxx: 764 in SwOLEObj::~SwOLEObj()()
________________________________________________________________________________________________________
*** CID 1405936: Error handling issues (UNCAUGHT_EXCEPT)
/sw/source/core/ole/ndole.cxx: 764 in SwOLEObj::~SwOLEObj()()
758 m_pDeflateData(nullptr)
759 {
760 xOLERef.Lock();
761 xOLERef.SetViewAspect( nAspect );
762 }
763
>>> CID 1405936: Error handling issues (UNCAUGHT_EXCEPT)
>>> An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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().
764 SwOLEObj::~SwOLEObj()
765 {
766 if(m_pDeflateData)
767 {
768 // set flag so that the worker thread will delete m_pDeflateData
769 // when finished and forget about it
** CID 1405935: Error handling issues (UNCAUGHT_EXCEPT)
/usr/include/c++/6.3.1/bits/unique_ptr.h: 235 in std::unique_ptr<ScNoteMarker, std::default_delete<ScNoteMarker>>::~unique_ptr()()
________________________________________________________________________________________________________
*** CID 1405935: Error handling issues (UNCAUGHT_EXCEPT)
/usr/include/c++/6.3.1/bits/unique_ptr.h: 235 in std::unique_ptr<ScNoteMarker, std::default_delete<ScNoteMarker>>::~unique_ptr()()
229 template<typename _Up, typename = _Require<
230 is_convertible<_Up*, _Tp*>, is_same<_Dp, default_delete<_Tp>>>>
231 unique_ptr(auto_ptr<_Up>&& __u) noexcept;
232 #endif
233
234 /// Destructor, invokes the deleter if the stored pointer is not null.
>>> CID 1405935: Error handling issues (UNCAUGHT_EXCEPT)
>>> An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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().
235 ~unique_ptr() noexcept
236 {
237 auto& __ptr = std::get<0>(_M_t);
238 if (__ptr != nullptr)
239 get_deleter()(__ptr);
240 __ptr = pointer();
** CID 1405934: Error handling issues (UNCAUGHT_EXCEPT)
/usr/include/c++/6.3.1/bits/unique_ptr.h: 342 in std::unique_ptr<ScNoteMarker, std::default_delete<ScNoteMarker>>::reset(ScNoteMarker *)()
________________________________________________________________________________________________________
*** CID 1405934: Error handling issues (UNCAUGHT_EXCEPT)
/usr/include/c++/6.3.1/bits/unique_ptr.h: 342 in std::unique_ptr<ScNoteMarker, std::default_delete<ScNoteMarker>>::reset(ScNoteMarker *)()
336 *
337 * @param __p The new pointer to store.
338 *
339 * The deleter will be invoked if a pointer is already owned.
340 */
341 void
>>> CID 1405934: Error handling issues (UNCAUGHT_EXCEPT)
>>> An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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().
342 reset(pointer __p = pointer()) noexcept
343 {
344 using std::swap;
345 swap(std::get<0>(_M_t), __p);
346 if (__p != pointer())
347 get_deleter()(__p);
** CID 1405933: Error handling issues (UNCAUGHT_EXCEPT)
/sc/source/ui/view/viewdata.cxx: 495 in ScViewData::~ScViewData()()
________________________________________________________________________________________________________
*** CID 1405933: Error handling issues (UNCAUGHT_EXCEPT)
/sc/source/ui/view/viewdata.cxx: 495 in ScViewData::~ScViewData()()
489 return &pDocShell->GetDocument();
490
491 OSL_FAIL("no document on ViewData");
492 return nullptr;
493 }
494
>>> CID 1405933: Error handling issues (UNCAUGHT_EXCEPT)
>>> An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_rational> >" 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().
495 ScViewData::~ScViewData()
496 {
497 KillEditView();
498 delete pOptions;
499 ::std::for_each(
500 maTabData.begin(), maTabData.end(), std::default_delete<ScViewDataTable>());
________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyTqSaRDWDqwPV5vS1Mi9rd-2BiEBPwah-2Bbb4gu6WpyqYcyeoSGX5O9RG94DKfZzINj65zkz-2FK86Q59r-2FMnYBFGx4mUKK3SoOS-2FbVd94RulHMyIliXflFphn5gSq5F8rEonjM5qeXF4g9My4ywjyvXFGy08JB9EIyKjQWoeP8DBy4nw-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-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5N5X-2B1MAElavPQhH6nLwozJzqOkt2k8uOkYf2ZoppNa9QVe0T3fEZVQ7Kky1tOkLz_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyTqSaRDWDqwPV5vS1Mi9rd8-2F9eXqgK3qexJutHQlEIjbk-2BWjdmr1OUdSRwnA5kQQI1WJj0D450jD0SrfZB6YPy0YNLT-2BSZKupJtCrR57PlmwMOrsCFcxLSAX3zEK-2BtbilZQoaG10j2aKdALwpXDLjT-2Bqb8THWqzM11CI52SZvD68-3D
More information about the LibreOffice
mailing list