New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Thu Apr 23 18:51:18 UTC 2020


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


** CID 1462476:  Uninitialized members  (UNINIT_CTOR)
/svx/source/tbxctrls/tbcontrl.cxx: 2923 in <unnamed>::SvxFontNameToolBoxControl::SvxFontNameToolBoxControl()()


________________________________________________________________________________________________________
*** CID 1462476:  Uninitialized members  (UNINIT_CTOR)
/svx/source/tbxctrls/tbcontrl.cxx: 2923 in <unnamed>::SvxFontNameToolBoxControl::SvxFontNameToolBoxControl()()
2917     
2918         return pBox.get();
2919     }
2920     
2921     SvxFontNameToolBoxControl::SvxFontNameToolBoxControl()
2922     {
>>>     CID 1462476:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "m_pBox" is not initialized in this constructor nor in any functions that it calls.
2923     }
2924     
2925     void SvxFontNameBox_Base::statusChanged_Impl( const css::frame::FeatureStateEvent& rEvent )
2926     {
2927         if ( !rEvent.IsEnabled )
2928         {

** CID 1455212:  Error handling issues  (UNCAUGHT_EXCEPT)
/usr/include/c++/8/bits/shared_ptr_base.h: 550 in std::_Sp_counted_ptr_inplace<ImpSwapFile, std::allocator<ImpSwapFile>, (__gnu_cxx::_Lock_policy)2>::_M_dispose()()


________________________________________________________________________________________________________
*** CID 1455212:  Error handling issues  (UNCAUGHT_EXCEPT)
/usr/include/c++/8/bits/shared_ptr_base.h: 550 in std::_Sp_counted_ptr_inplace<ImpSwapFile, std::allocator<ImpSwapFile>, (__gnu_cxx::_Lock_policy)2>::_M_dispose()()
544     	      std::forward<_Args>(__args)...); // might throw
545     	}
546     
547           ~_Sp_counted_ptr_inplace() noexcept { }
548     
549           virtual void
>>>     CID 1455212:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" is thrown but the throw list "noexcept" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
550           _M_dispose() noexcept
551           {
552     	allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
553           }
554     
555           // Override because the allocator needs to know the dynamic type


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklAc1eEA-2F1zfUjH6teExViPHTTReBArhCRZ3BE4kCjKjDqn2Dq3ZyEbAvAs31gRpU3vMPHDnoSx68vDAWjNU-3DYvcL_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiibaz9x5mv90jSOKdvPU0GvjPNXGitrPBY4fiT34oI-2BfMxX7Q6Q6-2FrpSviN1XsbC2ehmqhHtOYAkDr9q1juVLuElyy8RfY-2FiLCX-2BtkxXVDPDptxidVv5Y8-2BFaVyGxYcYZDPhZwZPto6MwR9a9mrlfNzQ0ffkJfCmsmEZI-2Fjk5RbEhIDnAAEDmdzKDkiiqjuZ5



More information about the LibreOffice mailing list