New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Tue Nov 19 20:41:54 UTC 2019


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.
2 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 1399334:  Error handling issues  (UNCAUGHT_EXCEPT)
/sd/source/ui/slidesorter/controller/SlideSorterController.cxx: 905 in sd::slidesorter::controller::SlideSorterController::ModelChangeLock::~ModelChangeLock()()


________________________________________________________________________________________________________
*** CID 1399334:  Error handling issues  (UNCAUGHT_EXCEPT)
/sd/source/ui/slidesorter/controller/SlideSorterController.cxx: 905 in sd::slidesorter::controller::SlideSorterController::ModelChangeLock::~ModelChangeLock()()
899         SlideSorterController& rController)
900         : mpController(&rController)
901     {
902         mpController->LockModelChange();
903     }
904     
>>>     CID 1399334:  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().
905     SlideSorterController::ModelChangeLock::~ModelChangeLock()
906     {
907         Release();
908     }
909     
910     void SlideSorterController::ModelChangeLock::Release()

** CID 1399224:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/core/data/column.cxx: 92 in ScColumn::~ScColumn()()


________________________________________________________________________________________________________
*** CID 1399224:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/core/data/column.cxx: 92 in ScColumn::~ScColumn()()
86         nCol( 0 ),
87         nTab( 0 )
88     {
89         maCells.resize(MAXROWCOUNT);
90     }
91     
>>>     CID 1399224:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "std::out_of_range" 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().
92     ScColumn::~ScColumn()
93     {
94         FreeAll();
95     }
96     
97     void ScColumn::Init(SCCOL nNewCol, SCTAB nNewTab, ScDocument* pDoc, bool bEmptyAttrArray)

** CID 1399153:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/core/data/column.cxx: 92 in ScColumn::~ScColumn()()


________________________________________________________________________________________________________
*** CID 1399153:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/core/data/column.cxx: 92 in ScColumn::~ScColumn()()
86         nCol( 0 ),
87         nTab( 0 )
88     {
89         maCells.resize(MAXROWCOUNT);
90     }
91     
>>>     CID 1399153:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "mdds::general_error" 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().
92     ScColumn::~ScColumn()
93     {
94         FreeAll();
95     }
96     
97     void ScColumn::Init(SCCOL nNewCol, SCTAB nNewTab, ScDocument* pDoc, bool bEmptyAttrArray)

** CID 1399090:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/core/data/colorscale.cxx: 200 in ScColorScaleEntry::~ScColorScaleEntry()()


________________________________________________________________________________________________________
*** CID 1399090:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/core/data/colorscale.cxx: 200 in ScColorScaleEntry::~ScColorScaleEntry()()
194             mpListener.reset(new ScFormulaListener(mpCell.get()));
195             if (mpFormat)
196                 mpListener->setCallback([&]() { mpFormat->DoRepaint();});
197         }
198     }
199     
>>>     CID 1399090:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "mdds::general_error" 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().
200     ScColorScaleEntry::~ScColorScaleEntry()
201     {
202         if(mpCell)
203             mpCell->EndListeningTo(mpCell->GetDocument());
204     }
205     


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZBnDJeNb0HijxaS4JNJPxk3kpyAm2AYqo71yXmnOxB73RtgzoPcQtNNP5dkHLuV1E-3D_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyoRjyaWEFqREsFBxJuZ4VblGtCkizO0mJumYbhcrOq5Fk6DdOgflbL6jbf4I0yLeSfwG-2FFKch3udhbqpGwiEn-2BkvR3P9cNp9VL99ilriVm1VIkRn2QNsxA-2BDpIk1CvAXIYg7ROc0CdapmAKmqmppu5gAMjlX4emK4ye5vgHG2DPI-3D



More information about the LibreOffice mailing list