New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Fri May 17 18:10:47 UTC 2024
Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
3 new defect(s) introduced to LibreOffice found with Coverity Scan.
5 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 3 of 3 defect(s)
** CID 1598237: Error handling issues (UNCAUGHT_EXCEPT)
/canvas/workben/canvasdemo.cxx: 608 in <unnamed>::DemoApp::Main()()
________________________________________________________________________________________________________
*** CID 1598237: Error handling issues (UNCAUGHT_EXCEPT)
/canvas/workben/canvasdemo.cxx: 608 in <unnamed>::DemoApp::Main()()
602 void Init() override;
603 void DeInit() override;
604 };
605
606 }
607
>>> CID 1598237: Error handling issues (UNCAUGHT_EXCEPT)
>>> In function "<unnamed>::DemoApp::Main()" an exception of type "com::sun::star::uno::DeploymentException" is thrown and never caught.
608 int DemoApp::Main()
609 {
610 bool bHelp = false;
611
612 for( unsigned int i = 0; i < GetCommandLineParamCount(); i++ )
613 {
** CID 1598236: Error handling issues (CHECKED_RETURN)
/sw/source/uibase/app/apphdl.cxx: 417 in <unnamed>::SwMailMergeWizardExecutor::ExecuteMailMergeWizard(const SfxItemSet *)()
________________________________________________________________________________________________________
*** CID 1598236: Error handling issues (CHECKED_RETURN)
/sw/source/uibase/app/apphdl.cxx: 417 in <unnamed>::SwMailMergeWizardExecutor::ExecuteMailMergeWizard(const SfxItemSet *)()
411 using namespace org::freedesktop::PackageKit;
412 using namespace svtools;
413 css::uno::Reference< XSyncDbusSessionHelper > xSyncDbusSessionHelper(SyncDbusSessionHelper::create(comphelper::getProcessComponentContext()));
414 const css::uno::Sequence< OUString > vPackages{ "libreoffice-base" };
415 xSyncDbusSessionHelper->InstallPackageNames(vPackages, OUString());
416 SolarMutexGuard aGuard;
>>> CID 1598236: Error handling issues (CHECKED_RETURN)
>>> Calling "executeRestartDialog" without checking return value (as is done elsewhere 6 out of 7 times).
417 executeRestartDialog(comphelper::getProcessComponentContext(), nullptr, RESTART_REASON_MAILMERGE_INSTALL);
418 }
419 catch (const css::uno::Exception &)
420 {
421 TOOLS_INFO_EXCEPTION(
422 "sw.core",
** CID 1598235: Uninitialized members (UNINIT_CTOR)
/sd/source/ui/framework/module/NotesPaneModule.cxx: 45 in sd::framework::NotesPaneModule::NotesPaneModule(const rtl::Reference<sd::DrawController> &)()
________________________________________________________________________________________________________
*** CID 1598235: Uninitialized members (UNINIT_CTOR)
/sd/source/ui/framework/module/NotesPaneModule.cxx: 45 in sd::framework::NotesPaneModule::NotesPaneModule(const rtl::Reference<sd::DrawController> &)()
39 NotesPaneModule::NotesPaneModule(const rtl::Reference<::sd::DrawController>& rxController)
40 : mxBottomImpressPaneId(FrameworkHelper::CreateResourceId(
41 FrameworkHelper::msNotesPanelViewURL, FrameworkHelper::msBottomImpressPaneURL))
42 , mxMainViewAnchorId(FrameworkHelper::CreateResourceId(FrameworkHelper::msCenterPaneURL))
43 {
44 if (!rxController.is())
>>> CID 1598235: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "mpViewShellBase" is not initialized in this constructor nor in any functions that it calls.
45 return;
46
47 mpViewShellBase = rxController->GetViewShellBase();
48
49 mxConfigurationController = rxController->getConfigurationController();
50 if (!mxConfigurationController.is())
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3DUNj__A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGt2K6Hw1GZzA8I67sWF7NG-2BWh2ziA0r8iMXl5wP1qzlfk0Dfqxvgy-2FkqoVaqRqr41NGqxPEjODcl0dG35QNb05uV-2Bnp1CQtO-2B-2BhlHqfXVc8i6Kdeb6DZDPH7nawi1mFkZK9c4xfec5YCSIaJZlPEKtGzv-2BF3fRk2xfl6wFahW9qXc-3D
More information about the LibreOffice
mailing list