New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Fri Oct 6 08:34:47 UTC 2023


Hi,

Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.

1 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 1 of 1 defect(s)


** CID 1547076:  Uninitialized members  (UNINIT_CTOR)
/include/comphelper/errcode.hxx: 184 in ErrCodeMsg::ErrCodeMsg()()


________________________________________________________________________________________________________
*** CID 1547076:  Uninitialized members  (UNINIT_CTOR)
/include/comphelper/errcode.hxx: 184 in ErrCodeMsg::ErrCodeMsg()()
178     /** Wrap up an ErrCode and an explanation and the source location where the error was created,
179         helps with debugging when finding the source of a problem.
180     */
181     class SAL_WARN_UNUSED ErrCodeMsg
182     {
183     public:
>>>     CID 1547076:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "mnDialogMask" is not initialized in this constructor nor in any functions that it calls.
184         ErrCodeMsg() : mnCode(0) {}
185     #ifdef LIBO_ERRMSG_USE_SOURCE_LOCATION
186         ErrCodeMsg(ErrCode code, const OUString& arg, std::experimental::source_location loc = std::experimental::source_location::current())
187             : mnCode(code), maArg1(arg),  mnDialogMask(DialogMask::NONE), moLoc(loc) {}
188         ErrCodeMsg(ErrCode code, const OUString& arg1, const OUString& arg2, std::experimental::source_location loc = std::experimental::source_location::current())
189             : mnCode(code), maArg1(arg1), maArg2(arg2), mnDialogMask(DialogMask::NONE), moLoc(loc) {}


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3Dbyz0_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiAThq93V3DdanW3Zjvbp7SNjrJlHKyK-2BrYAPmLKgA3Rrmgs8LcOxNKmCpKBjVxAboKknTzl3n-2BU7xjhM6W-2BTR-2BufwymB4BncRN5CRPqRg1r-2BPU0SeCwM9Z1AahvJd9CenpdXTkrR5BP6Y8fABE150vwsNtKxbgB-2F22NugLxC75iI-3D



More information about the LibreOffice mailing list