New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sat Sep 24 20:19:10 UTC 2022


Hi,

Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.

1 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 1 of 1 defect(s)


** CID 1506304:    (UNCAUGHT_EXCEPT)
/usr/include/c++/11/bits/unique_ptr.h: 177 in std::__uniq_ptr_impl<mdds::mtv::base_element_block, mdds::mtv::soa::multi_type_vector<mdds::mtv::custom_block_func1<mdds::mtv::noncopyable_managed_element_block<(int)50, SvtBroadcaster>>, mdds::mtv::default_trait>::element_block_deleter>::reset(mdds::mtv::base_element_block *)()
/usr/include/c++/11/bits/unique_ptr.h: 177 in std::__uniq_ptr_impl<mdds::mtv::base_element_block, mdds::mtv::soa::multi_type_vector<mdds::mtv::custom_block_func3<mdds::mtv::default_element_block<(int)52, svl::SharedString>, mdds::mtv::noncopyable_managed_element_block<(int)53, EditTextObject>, mdds::mtv::noncopyable_managed_element_block<(int)54, ScFormulaCell>>, sc::CellStoreTrait>::element_block_deleter>::reset(mdds::mtv::base_element_block *)()
/usr/include/c++/11/bits/unique_ptr.h: 177 in std::__uniq_ptr_impl<mdds::mtv::base_element_block, mdds::mtv::soa::multi_type_vector<mdds::mtv::custom_block_func1<mdds::mtv::default_element_block<(int)51, sc::CellTextAttr>>, mdds::mtv::default_trait>::element_block_deleter>::reset(mdds::mtv::base_element_block *)()
/usr/include/c++/11/bits/unique_ptr.h: 177 in std::__uniq_ptr_impl<mdds::mtv::base_element_block, mdds::mtv::soa::multi_type_vector<mdds::mtv::custom_block_func1<mdds::mtv::noncopyable_managed_element_block<(int)55, ScPostIt>>, mdds::mtv::default_trait>::element_block_deleter>::reset(mdds::mtv::base_element_block *)()


________________________________________________________________________________________________________
*** CID 1506304:    (UNCAUGHT_EXCEPT)
/usr/include/c++/11/bits/unique_ptr.h: 177 in std::__uniq_ptr_impl<mdds::mtv::base_element_block, mdds::mtv::soa::multi_type_vector<mdds::mtv::custom_block_func1<mdds::mtv::noncopyable_managed_element_block<(int)50, SvtBroadcaster>>, mdds::mtv::default_trait>::element_block_deleter>::reset(mdds::mtv::base_element_block *)()
171     
172           pointer&   _M_ptr() { return std::get<0>(_M_t); }
173           pointer    _M_ptr() const { return std::get<0>(_M_t); }
174           _Dp&       _M_deleter() { return std::get<1>(_M_t); }
175           const _Dp& _M_deleter() const { return std::get<1>(_M_t); }
176     
>>>     CID 1506304:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "mdds::general_error" is thrown but the exception specification "noexcept" doesn't allow it to be thrown. This will result in a call to terminate().
177           void reset(pointer __p) noexcept
178           {
179     	const pointer __old_p = _M_ptr();
180     	_M_ptr() = __p;
181     	if (__old_p)
182     	  _M_deleter()(__old_p);
/usr/include/c++/11/bits/unique_ptr.h: 177 in std::__uniq_ptr_impl<mdds::mtv::base_element_block, mdds::mtv::soa::multi_type_vector<mdds::mtv::custom_block_func3<mdds::mtv::default_element_block<(int)52, svl::SharedString>, mdds::mtv::noncopyable_managed_element_block<(int)53, EditTextObject>, mdds::mtv::noncopyable_managed_element_block<(int)54, ScFormulaCell>>, sc::CellStoreTrait>::element_block_deleter>::reset(mdds::mtv::base_element_block *)()
171     
172           pointer&   _M_ptr() { return std::get<0>(_M_t); }
173           pointer    _M_ptr() const { return std::get<0>(_M_t); }
174           _Dp&       _M_deleter() { return std::get<1>(_M_t); }
175           const _Dp& _M_deleter() const { return std::get<1>(_M_t); }
176     
>>>     CID 1506304:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "mdds::general_error" is thrown but the exception specification "noexcept" doesn't allow it to be thrown. This will result in a call to terminate().
177           void reset(pointer __p) noexcept
178           {
179     	const pointer __old_p = _M_ptr();
180     	_M_ptr() = __p;
181     	if (__old_p)
182     	  _M_deleter()(__old_p);
/usr/include/c++/11/bits/unique_ptr.h: 177 in std::__uniq_ptr_impl<mdds::mtv::base_element_block, mdds::mtv::soa::multi_type_vector<mdds::mtv::custom_block_func1<mdds::mtv::default_element_block<(int)51, sc::CellTextAttr>>, mdds::mtv::default_trait>::element_block_deleter>::reset(mdds::mtv::base_element_block *)()
171     
172           pointer&   _M_ptr() { return std::get<0>(_M_t); }
173           pointer    _M_ptr() const { return std::get<0>(_M_t); }
174           _Dp&       _M_deleter() { return std::get<1>(_M_t); }
175           const _Dp& _M_deleter() const { return std::get<1>(_M_t); }
176     
>>>     CID 1506304:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "mdds::general_error" is thrown but the exception specification "noexcept" doesn't allow it to be thrown. This will result in a call to terminate().
177           void reset(pointer __p) noexcept
178           {
179     	const pointer __old_p = _M_ptr();
180     	_M_ptr() = __p;
181     	if (__old_p)
182     	  _M_deleter()(__old_p);
/usr/include/c++/11/bits/unique_ptr.h: 177 in std::__uniq_ptr_impl<mdds::mtv::base_element_block, mdds::mtv::soa::multi_type_vector<mdds::mtv::custom_block_func1<mdds::mtv::noncopyable_managed_element_block<(int)55, ScPostIt>>, mdds::mtv::default_trait>::element_block_deleter>::reset(mdds::mtv::base_element_block *)()
171     
172           pointer&   _M_ptr() { return std::get<0>(_M_t); }
173           pointer    _M_ptr() const { return std::get<0>(_M_t); }
174           _Dp&       _M_deleter() { return std::get<1>(_M_t); }
175           const _Dp& _M_deleter() const { return std::get<1>(_M_t); }
176     
>>>     CID 1506304:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "mdds::general_error" is thrown but the exception specification "noexcept" doesn't allow it to be thrown. This will result in a call to terminate().
177           void reset(pointer __p) noexcept
178           {
179     	const pointer __old_p = _M_ptr();
180     	_M_ptr() = __p;
181     	if (__old_p)
182     	  _M_deleter()(__old_p);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DKZ8E_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJidZ1t9Hr7vyMAe0Z6r4O4YDXAyxz7iyKYDxqFPAceq-2FziaUT1741UNRrwvdgp3RmyKMNwlzPDqcZoZ1IFWqCun8Fw-2FzI-2FkDp6QzEMem9hlrBlHDug-2FzTFKoYlrsYantMuskza-2BuCgthdZhH9nIC9wPZTF02WooEqEXVL4Dla5MYQ-3D



More information about the LibreOffice mailing list