New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sun Oct 15 07:54:11 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.
3 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 1419773:  Uninitialized members  (UNINIT_CTOR)
/vcl/source/window/dialog.cxx: 498 in Dialog::Dialog(WindowType)()


________________________________________________________________________________________________________
*** CID 1419773:  Uninitialized members  (UNINIT_CTOR)
/vcl/source/window/dialog.cxx: 498 in Dialog::Dialog(WindowType)()
492     
493     Dialog::Dialog( WindowType nType )
494         : SystemWindow( nType )
495         , mnInitFlag(InitFlag::Default)
496     {
497         ImplInitDialogData();
>>>     CID 1419773:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "mbForceBorderWindow" is not initialized in this constructor nor in any functions that it calls.
498     }
499     
500     void VclBuilderContainer::disposeBuilder()
501     {
502         if (m_pUIBuilder)
503             m_pUIBuilder->disposeBuilder();

** CID 1401342:  Error handling issues  (UNCAUGHT_EXCEPT)
/usr/include/c++/6.3.1/bits/shared_ptr_base.h: 527 in std::_Sp_counted_ptr_inplace<ScDocument, std::allocator<ScDocument>, (__gnu_cxx::_Lock_policy)2>::_M_dispose()()


________________________________________________________________________________________________________
*** CID 1401342:  Error handling issues  (UNCAUGHT_EXCEPT)
/usr/include/c++/6.3.1/bits/shared_ptr_base.h: 527 in std::_Sp_counted_ptr_inplace<ScDocument, std::allocator<ScDocument>, (__gnu_cxx::_Lock_policy)2>::_M_dispose()()
521     	      std::forward<_Args>(__args)...); // might throw
522     	}
523     
524           ~_Sp_counted_ptr_inplace() noexcept { }
525     
526           virtual void
>>>     CID 1401342:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" 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().
527           _M_dispose() noexcept
528           {
529     	allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
530           }
531     
532           // Override because the allocator needs to know the dynamic type


________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyY3rJftnkY1zqIpu9BzdDNR955xgx01Ooe8j5DnxPauPHut6gW1VRRsuh3O-2Bw33gT-2FnzfpPQtazVALyn2UyFq-2B9VmPMn2nHfYJfrHAjRtqmnRF8i588huaoegCdX83VIH6xtR7gz59NxNwe2oTxkc83qBD99Zz3v3IlFZ8dkE3us-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-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5lwWgMDuK-2FivqaohkU3M9kT-2Fww10Qt2GoaCJAOQCa0Wv4ijH4oV8jCt0XXa7QeAwh_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyY3rJftnkY1zqIpu9BzdDNXeGHv5USKm5BTjj4Mn-2FWNJfRMJj530AM3zJX7CgkY8Q-2FHefSAbOEBsQBApZJc-2FUwu7lZgWirBNhvY78wl3AeoeNho3DJiNfxPUZG6wLjSDkg442D8QMzW3W4NOOoEvcZ5xit7M5dmqULocWnnNjIQI-3D



More information about the LibreOffice mailing list