New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Sun Sep 8 14:33:09 UTC 2024
Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
4 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 4 of 4 defect(s)
** CID 1619259: Uninitialized members (UNINIT_CTOR)
/sfx2/source/doc/objserv.cxx: 2297 in SfxObjectShell::SignScriptingContent(weld::Window *, const std::function<void (bool)> &)::[lambda(bool) (instance 1)]::lambda(const [lambda(bool) (instance 1)]&)()
________________________________________________________________________________________________________
*** CID 1619259: Uninitialized members (UNINIT_CTOR)
/sfx2/source/doc/objserv.cxx: 2297 in SfxObjectShell::SignScriptingContent(weld::Window *, const std::function<void (bool)> &)::[lambda(bool) (instance 1)]::lambda(const [lambda(bool) (instance 1)]&)()
2291 if (CheckIsReadonly(true, pDialogParent))
2292 {
2293 rCallback(false);
2294 return;
2295 }
2296
>>> CID 1619259: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "this" is not initialized in this constructor nor in any functions that it calls.
2297 GetMedium()->SignContents_Impl(pDialogParent, true, HasValidSignatures(), [this, rCallback](bool bSignSuccess) {
2298 AfterSigning(bSignSuccess, true);
2299
2300 rCallback(bSignSuccess);
2301 });
2302 }
** CID 1619258: Uninitialized members (UNINIT_CTOR)
/sfx2/source/doc/objserv.cxx: 2297 in SfxObjectShell::SignScriptingContent(weld::Window *, const std::function<void (bool)> &)::[lambda(bool) (instance 1)]::lambda([lambda(bool) (instance 1)]&&)()
________________________________________________________________________________________________________
*** CID 1619258: Uninitialized members (UNINIT_CTOR)
/sfx2/source/doc/objserv.cxx: 2297 in SfxObjectShell::SignScriptingContent(weld::Window *, const std::function<void (bool)> &)::[lambda(bool) (instance 1)]::lambda([lambda(bool) (instance 1)]&&)()
2291 if (CheckIsReadonly(true, pDialogParent))
2292 {
2293 rCallback(false);
2294 return;
2295 }
2296
>>> CID 1619258: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "this" is not initialized in this constructor nor in any functions that it calls.
2297 GetMedium()->SignContents_Impl(pDialogParent, true, HasValidSignatures(), [this, rCallback](bool bSignSuccess) {
2298 AfterSigning(bSignSuccess, true);
2299
2300 rCallback(bSignSuccess);
2301 });
2302 }
** CID 1619257: Uninitialized members (UNINIT_CTOR)
/sfx2/source/doc/objserv.cxx: 2152 in SfxObjectShell::SignDocumentContent(weld::Window *, const std::function<void (bool)> &)::[lambda(bool) (instance 1)]::lambda(const [lambda(bool) (instance 1)]&)()
________________________________________________________________________________________________________
*** CID 1619257: Uninitialized members (UNINIT_CTOR)
/sfx2/source/doc/objserv.cxx: 2152 in SfxObjectShell::SignDocumentContent(weld::Window *, const std::function<void (bool)> &)::[lambda(bool) (instance 1)]::lambda(const [lambda(bool) (instance 1)]&)()
2146 {
2147 rCallback(false);
2148 return;
2149 }
2150
2151 // Async, all code before the end has to go into the callback.
>>> CID 1619257: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "this" is not initialized in this constructor nor in any functions that it calls.
2152 GetMedium()->SignContents_Impl(pDialogParent, false, HasValidSignatures(), [this, rCallback](bool bSignSuccess) {
2153 AfterSigning(bSignSuccess, false);
2154
2155 rCallback(bSignSuccess);
2156 });
2157 }
** CID 1619256: Uninitialized members (UNINIT_CTOR)
/sfx2/source/doc/objserv.cxx: 2152 in SfxObjectShell::SignDocumentContent(weld::Window *, const std::function<void (bool)> &)::[lambda(bool) (instance 1)]::lambda([lambda(bool) (instance 1)]&&)()
________________________________________________________________________________________________________
*** CID 1619256: Uninitialized members (UNINIT_CTOR)
/sfx2/source/doc/objserv.cxx: 2152 in SfxObjectShell::SignDocumentContent(weld::Window *, const std::function<void (bool)> &)::[lambda(bool) (instance 1)]::lambda([lambda(bool) (instance 1)]&&)()
2146 {
2147 rCallback(false);
2148 return;
2149 }
2150
2151 // Async, all code before the end has to go into the callback.
>>> CID 1619256: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "this" is not initialized in this constructor nor in any functions that it calls.
2152 GetMedium()->SignContents_Impl(pDialogParent, false, HasValidSignatures(), [this, rCallback](bool bSignSuccess) {
2153 AfterSigning(bSignSuccess, false);
2154
2155 rCallback(bSignSuccess);
2156 });
2157 }
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3DnOIt_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGt8TcazJgL0zd8aKOqkBUHn4jhVzkcExHTyi1N6YBm6jmBxwpSGD-2Bz-2FHOix2M2RZ0lVFxH-2F9PpcJEQSGuso12-2FfO87EZ9KBc-2Fv2krYZgXctjfY65JL1IVoiel-2BZzPHJb-2B589lm5OgbdCq-2F5sCLfhQ4njpUBnqduoz8b3IYxmbWZ-2BI-3D
More information about the LibreOffice
mailing list