New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Thu Apr 29 08:09:26 UTC 2021


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.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1477405:    (UNINIT_CTOR)
/include/comphelper/profilezone.hxx: 70 in comphelper::ProfileZone::ProfileZone(const char *, bool)()
/include/comphelper/profilezone.hxx: 70 in comphelper::ProfileZone::ProfileZone(const char *, bool)()


________________________________________________________________________________________________________
*** CID 1477405:    (UNINIT_CTOR)
/include/comphelper/profilezone.hxx: 70 in comphelper::ProfileZone::ProfileZone(const char *, bool)()
64                     m_nPid = aProcessInfo.Ident;
65     
66                 m_nNesting = s_nNesting++;
67             }
68             else
69                 m_nCreateTime = 0;
>>>     CID 1477405:    (UNINIT_CTOR)
>>>     Non-static class member "m_nNesting" is not initialized in this constructor nor in any functions that it calls.
70         }
71     
72         ~ProfileZone()
73         {
74             if (m_nCreateTime > 0)
75             {
/include/comphelper/profilezone.hxx: 70 in comphelper::ProfileZone::ProfileZone(const char *, bool)()
64                     m_nPid = aProcessInfo.Ident;
65     
66                 m_nNesting = s_nNesting++;
67             }
68             else
69                 m_nCreateTime = 0;
>>>     CID 1477405:    (UNINIT_CTOR)
>>>     Non-static class member "m_nPid" is not initialized in this constructor nor in any functions that it calls.
70         }
71     
72         ~ProfileZone()
73         {
74             if (m_nCreateTime > 0)
75             {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3D5e58_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiKCz3e-2FtK20eEWgyPgjEFG-2F2HWxv3tQNI11acMDT7c5MwRLItI-2FlDHwr2NPHLf7sO0EWhgk0AGUrANs7L8n3AMmxXVBdIL7SFsOOsFqgIznC4ga-2B4TWIx-2FE-2FcAUztegnV2d8pg0Nzy-2BKHs5hmm8iS8L3HmM3WoIF5bAVuPVvGDp0-3D



More information about the LibreOffice mailing list