New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Wed Feb 22 03:16:52 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.
122 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 1401394:    (UNCAUGHT_EXCEPT)
/usr/include/c++/6.3.1/bits/unique_ptr.h: 235 in std::unique_ptr<sd::slidesorter::view::SlideSorterView::DrawLock, std::default_delete<sd::slidesorter::view::SlideSorterView::DrawLock>>::~unique_ptr()()
/usr/include/c++/6.3.1/bits/unique_ptr.h: 235 in std::unique_ptr<PaintBufferGuard, std::default_delete<PaintBufferGuard>>::~unique_ptr()()
/usr/include/c++/6.3.1/bits/unique_ptr.h: 235 in std::unique_ptr<vcl::Cursor, std::default_delete<vcl::Cursor>>::~unique_ptr()()


________________________________________________________________________________________________________
*** CID 1401394:    (UNCAUGHT_EXCEPT)
/usr/include/c++/6.3.1/bits/unique_ptr.h: 235 in std::unique_ptr<sd::slidesorter::view::SlideSorterView::DrawLock, std::default_delete<sd::slidesorter::view::SlideSorterView::DrawLock>>::~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 1401394:    (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().
235           ~unique_ptr() noexcept
236           {
237     	auto& __ptr = std::get<0>(_M_t);
238     	if (__ptr != nullptr)
239     	  get_deleter()(__ptr);
240     	__ptr = pointer();
/usr/include/c++/6.3.1/bits/unique_ptr.h: 235 in std::unique_ptr<PaintBufferGuard, std::default_delete<PaintBufferGuard>>::~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 1401394:    (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().
235           ~unique_ptr() noexcept
236           {
237     	auto& __ptr = std::get<0>(_M_t);
238     	if (__ptr != nullptr)
239     	  get_deleter()(__ptr);
240     	__ptr = pointer();
/usr/include/c++/6.3.1/bits/unique_ptr.h: 235 in std::unique_ptr<vcl::Cursor, std::default_delete<vcl::Cursor>>::~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 1401394:    (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().
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 1401393:    (UNCAUGHT_EXCEPT)
/usr/include/c++/6.3.1/bits/unique_ptr.h: 342 in std::unique_ptr<sd::slidesorter::view::SlideSorterView::DrawLock, std::default_delete<sd::slidesorter::view::SlideSorterView::DrawLock>>::reset(sd::slidesorter::view::SlideSorterView::DrawLock *)()
/usr/include/c++/6.3.1/bits/unique_ptr.h: 342 in std::unique_ptr<PaintBufferGuard, std::default_delete<PaintBufferGuard>>::reset(PaintBufferGuard *)()
/usr/include/c++/6.3.1/bits/unique_ptr.h: 342 in std::unique_ptr<vcl::Cursor, std::default_delete<vcl::Cursor>>::reset(vcl::Cursor *)()


________________________________________________________________________________________________________
*** CID 1401393:    (UNCAUGHT_EXCEPT)
/usr/include/c++/6.3.1/bits/unique_ptr.h: 342 in std::unique_ptr<sd::slidesorter::view::SlideSorterView::DrawLock, std::default_delete<sd::slidesorter::view::SlideSorterView::DrawLock>>::reset(sd::slidesorter::view::SlideSorterView::DrawLock *)()
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 1401393:    (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().
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);
/usr/include/c++/6.3.1/bits/unique_ptr.h: 342 in std::unique_ptr<PaintBufferGuard, std::default_delete<PaintBufferGuard>>::reset(PaintBufferGuard *)()
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 1401393:    (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().
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);
/usr/include/c++/6.3.1/bits/unique_ptr.h: 342 in std::unique_ptr<vcl::Cursor, std::default_delete<vcl::Cursor>>::reset(vcl::Cursor *)()
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 1401393:    (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().
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);


________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyVQ-2FLxSEKfzxoo4O7dN0x1R1iChPmDxckPk6zUTJSJotY52KXhAFIqe9beq-2BOEqaVYm0nuJpXR09vHs3GbocsKgFdhR7mE7iK-2Funns6LFbSPRdBWfJy3LUmp4iCyp6VTdUEK03UU3Kqm8tymsbYmAxT5EqV3AeH38BwuwJK01-2FrI-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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyVQ-2FLxSEKfzxoo4O7dN0x1YolSTmPk5VXrVRMVSrlUI-2B6UNbtTyTVdChy6InaTQ2dJ82vi-2FkTggBH-2BBAnV4uFzeO3meGbYylc2yjBcscJkLkxMMlDBFeYDLebNIkUuWuBMVg-2BTTAaUE-2BMZCKjIduC7PY-2FyEXewLhwbuaaRpUbz6U-3D



More information about the LibreOffice mailing list