New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Sun Jan 19 07:03:13 UTC 2025
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.
8 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 1640500: Uninitialized members (UNINIT_CTOR)
/sc/source/core/data/validat.cxx: 429 in ScValidationData::DoError(weld::Window *, const rtl::OUString &, const ScAddress &, const std::function<void (bool)> &) const::[lambda(unsigned int) (instance 1)]::lambda(const [lambda(unsigned int) (instance 1)]&)()
________________________________________________________________________________________________________
*** CID 1640500: Uninitialized members (UNINIT_CTOR)
/sc/source/core/data/validat.cxx: 429 in ScValidationData::DoError(weld::Window *, const rtl::OUString &, const ScAddress &, const std::function<void (bool)> &) const::[lambda(unsigned int) (instance 1)]::lambda(const [lambda(unsigned int) (instance 1)]&)()
423 xBox->set_default_response(RET_CANCEL);
424 break;
425 default:
426 break;
427 }
428
>>> CID 1640500: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "this" is not initialized in this constructor nor in any functions that it calls.
429 xBox->runAsync(xBox, [&, callback](sal_uInt32 result)
430 { callback(eErrorStyle == SC_VALERR_STOP || result == RET_CANCEL); });
431 }
432
433 bool ScValidationData::IsDataValidCustom(
434 const OUString& rTest,
** CID 1640499: Uninitialized members (UNINIT_CTOR)
/sc/source/core/data/validat.cxx: 429 in ScValidationData::DoError(weld::Window *, const rtl::OUString &, const ScAddress &, const std::function<void (bool)> &) const::[lambda(unsigned int) (instance 1)]::lambda([lambda(unsigned int) (instance 1)]&&)()
________________________________________________________________________________________________________
*** CID 1640499: Uninitialized members (UNINIT_CTOR)
/sc/source/core/data/validat.cxx: 429 in ScValidationData::DoError(weld::Window *, const rtl::OUString &, const ScAddress &, const std::function<void (bool)> &) const::[lambda(unsigned int) (instance 1)]::lambda([lambda(unsigned int) (instance 1)]&&)()
423 xBox->set_default_response(RET_CANCEL);
424 break;
425 default:
426 break;
427 }
428
>>> CID 1640499: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "this" is not initialized in this constructor nor in any functions that it calls.
429 xBox->runAsync(xBox, [&, callback](sal_uInt32 result)
430 { callback(eErrorStyle == SC_VALERR_STOP || result == RET_CANCEL); });
431 }
432
433 bool ScValidationData::IsDataValidCustom(
434 const OUString& rTest,
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/libreoffice?tab=overview
More information about the LibreOffice
mailing list