New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Wed Sep 18 06:05:46 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.
21 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 1619461: Uninitialized members (UNINIT_CTOR)
/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx: 395 in DigitalSignaturesDialog::canRemove(const std::function<void (bool)> &)::[lambda(bool) (instance 1)]::lambda([lambda(bool) (instance 1)]&&)()
________________________________________________________________________________________________________
*** CID 1619461: Uninitialized members (UNINIT_CTOR)
/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx: 395 in DigitalSignaturesDialog::canRemove(const std::function<void (bool)> &)::[lambda(bool) (instance 1)]::lambda([lambda(bool) (instance 1)]&&)()
389 }
390
391 bool DigitalSignaturesDialog::canAdd() { return canAddRemove(); }
392
393 void DigitalSignaturesDialog::canRemove(const std::function<void(bool)>& rCallback)
394 {
>>> CID 1619461: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "this" is not initialized in this constructor nor in any functions that it calls.
395 auto onFinished = [this, rCallback](bool bRet) {
396 rCallback(bRet && canAddRemove());
397 };
398 bool bRet = true;
399
400 if ( maSignatureManager.getSignatureMode() == DocumentSignatureMode::Content )
** CID 1619460: Uninitialized members (UNINIT_CTOR)
/sw/source/uibase/config/cfgitems.cxx: 129 in SwElemItem::SwElemItem(const SwViewOption &)()
________________________________________________________________________________________________________
*** CID 1619460: Uninitialized members (UNINIT_CTOR)
/sw/source/uibase/config/cfgitems.cxx: 129 in SwElemItem::SwElemItem(const SwViewOption &)()
123 m_bShowInlineTooltips = rVOpt.IsShowInlineTooltips();
124 m_bShowOutlineContentVisibilityButton = rVOpt.IsShowOutlineContentVisibilityButton();
125 m_bTreatSubOutlineLevelsAsContent = rVOpt.IsTreatSubOutlineLevelsAsContent();
126 m_bShowChangesInMargin = rVOpt.IsShowChangesInMargin();
127 m_bFieldHiddenText = rVOpt.IsShowHiddenField();
128 m_bShowHiddenPara = rVOpt.IsShowHiddenPara();
>>> CID 1619460: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "m_nDefaultZoomValue" is not initialized in this constructor nor in any functions that it calls.
129 }
130
131 SwElemItem* SwElemItem::Clone( SfxItemPool* ) const
132 {
133 return new SwElemItem( *this );
134 }
** CID 1619459: Uninitialized members (UNINIT_CTOR)
/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx: 395 in DigitalSignaturesDialog::canRemove(const std::function<void (bool)> &)::[lambda(bool) (instance 1)]::lambda(const [lambda(bool) (instance 1)]&)()
________________________________________________________________________________________________________
*** CID 1619459: Uninitialized members (UNINIT_CTOR)
/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx: 395 in DigitalSignaturesDialog::canRemove(const std::function<void (bool)> &)::[lambda(bool) (instance 1)]::lambda(const [lambda(bool) (instance 1)]&)()
389 }
390
391 bool DigitalSignaturesDialog::canAdd() { return canAddRemove(); }
392
393 void DigitalSignaturesDialog::canRemove(const std::function<void(bool)>& rCallback)
394 {
>>> CID 1619459: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "this" is not initialized in this constructor nor in any functions that it calls.
395 auto onFinished = [this, rCallback](bool bRet) {
396 rCallback(bRet && canAddRemove());
397 };
398 bool bRet = true;
399
400 if ( maSignatureManager.getSignatureMode() == DocumentSignatureMode::Content )
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3DRvwX_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGthfeXcDC7QSPMYTQjXzqxP8q9VEhm06x8j1zN7Xyt7NmFRNzhfA42mu2tAZCxsrjO8bieBAZpFu9Wxt299dX0bxQW1EOQSgDMqu6iaDzndLa7aBV0N1lGykyZLLg9bXWCDpVkvIjLpZnGRYliTspPWJbdXsBExnfy1SXgPyUFdwk-3D
More information about the LibreOffice
mailing list