New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Fri Jan 15 09:15:00 UTC 2021


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.
9 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 1472120:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/edit/ednumber.cxx: 430 in <unnamed>::MakeAllOutlineContentTemporarilyVisibile::~MakeAllOutlineContentTemporarilyVisibile()()


________________________________________________________________________________________________________
*** CID 1472120:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/edit/ednumber.cxx: 430 in <unnamed>::MakeAllOutlineContentTemporarilyVisibile::~MakeAllOutlineContentTemporarilyVisibile()()
424                         }
425                     }
426                 }
427             }
428         }
429     
>>>     CID 1472120:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list "noexcept" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
430         ~MakeAllOutlineContentTemporarilyVisibile()
431         {
432             if (!pWrtShell)
433                 return;
434             // restore outlines content visibility
435             for (SwNode* pNd : aOutlineNdsArray)

** CID 1472119:  Uninitialized members  (UNINIT_CTOR)
/sc/inc/refdata.hxx: 131 in ScComplexRefData::ScComplexRefData()()


________________________________________________________________________________________________________
*** CID 1472119:  Uninitialized members  (UNINIT_CTOR)
/sc/inc/refdata.hxx: 131 in ScComplexRefData::ScComplexRefData()()
125         ScSingleRefData Ref1;
126         ScSingleRefData Ref2;
127         bool bTrimToData;
128     
129         ScComplexRefData() :
130             bTrimToData(false)
>>>     CID 1472119:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member field "Ref2.mnTab" is not initialized in this constructor nor in any functions that it calls.
131         {}
132     
133         void InitFlags()
134             { Ref1.InitFlags(); Ref2.InitFlags(); }
135         void InitRange( const ScRange& rRange )
136             {

** CID 1470701:  Error handling issues  (UNCAUGHT_EXCEPT)
/vcl/source/graphic/UnoGraphic.cxx: 45 in unographic::Graphic::init(const Graphic &)()


________________________________________________________________________________________________________
*** CID 1470701:  Error handling issues  (UNCAUGHT_EXCEPT)
/vcl/source/graphic/UnoGraphic.cxx: 45 in unographic::Graphic::init(const Graphic &)()
39     }
40     
41     Graphic::~Graphic() throw()
42     {
43     }
44     
>>>     CID 1470701:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list "throw()" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
45     void Graphic::init( const ::Graphic& rGraphic )
46         throw()
47     {
48         maGraphic = rGraphic;
49         unographic::GraphicDescriptor::init(maGraphic);
50     }


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DkYF2_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiCwD3NAaJ-2B-2BVu2JeUT5uPGYJzkBxFvq1eVZsXmKzdDFYiz44mVJwqX-2FMBBCsa55KqJ2kRSWmHRaMPJEcWQbsaLmnip7GXgyPOXBv-2BmwCtF-2BT7N6O5rTQ1tTS70UpYUDR95rP5-2B-2FhsGeTPkQlToW46efZFSrbBpokLHIxGj3rEVyXAYcpIRCcNlSkJGrVwufzW



More information about the LibreOffice mailing list