New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Wed May 10 07:46:20 UTC 2017


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.
10 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 1405987:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/ui/docshell/impex.cxx: 180 in ScImportExport::~ScImportExport()()


________________________________________________________________________________________________________
*** CID 1405987:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/ui/docshell/impex.cxx: 180 in ScImportExport::~ScImportExport()()
174         else if (aRange.aStart.Parse(aPos, pDoc, eConv) & ScRefFlags::VALID)
175             aRange.aEnd = aRange.aStart;
176         else
177             bAll = true;
178     }
179     
>>>     CID 1405987:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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().
180     ScImportExport::~ScImportExport()
181     {
182         delete pUndoDoc;
183         delete pExtOptions;
184     }
185     

** CID 1405986:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/core/data/colcontainer.cxx: 33 in ScColContainer::~ScColContainer()()


________________________________________________________________________________________________________
*** CID 1405986:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/core/data/colcontainer.cxx: 33 in ScColContainer::~ScColContainer()()
27         pDocument = pDoc;
28         aCols.resize( nSize );
29         for ( size_t nCol = 0; nCol < nSize; ++nCol )
30             aCols[nCol] = new ScColumn;
31     }
32     
>>>     CID 1405986:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "mdds::general_error" 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().
33     ScColContainer::~ScColContainer()
34     {
35         Clear();
36     }
37     
38     void ScColContainer::Clear()

** CID 1405985:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/ui/undo/undobase.cxx: 475 in ScMoveUndo::~ScMoveUndo()()


________________________________________________________________________________________________________
*** CID 1405985:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/ui/undo/undobase.cxx: 475 in ScMoveUndo::~ScMoveUndo()()
469         ScDocument& rDoc = pDocShell->GetDocument();
470         if (pRefUndoData)
471             pRefUndoData->DeleteUnchanged(&rDoc);
472         pDrawUndo = GetSdrUndoAction( &rDoc );
473     }
474     
>>>     CID 1405985:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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().
475     ScMoveUndo::~ScMoveUndo()
476     {
477         delete pRefUndoData;
478         delete pRefUndoDoc;
479         DeleteSdrUndoAction( pDrawUndo );
480     }

** CID 1405984:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/ui/unoobj/funcuno.cxx: 96 in ScTempDocSource::~ScTempDocSource()()


________________________________________________________________________________________________________
*** CID 1405984:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/ui/unoobj/funcuno.cxx: 96 in ScTempDocSource::~ScTempDocSource()()
90             rCache.SetInUse( true );
91             if ( !rCache.GetDocument() )
92                 rCache.SetDocument( CreateDocument() );
93         }
94     }
95     
>>>     CID 1405984:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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().
96     ScTempDocSource::~ScTempDocSource()
97     {
98         if ( pTempDoc )
99             delete pTempDoc;
100         else
101             rCache.SetInUse( false );


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZBnDJeNb0HijxaS4JNJPxk3kpyAm2AYqo71yXmnOxB72ibeUH-2F-2F1Lhi9AZq3dRu-2F4-3D_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyhmdi5ccpcXUN-2BjYu9ss4w6GV12gz0KxhI1PneAMaKrbrRqUM4aXCS3HkGLhVxcjXU-2FVw7dKIOyvEP1jA5pGSB-2FUy6b41EX-2FbM7gPm5YJ5AGaZikwJvtxkhWMai-2FyxkwsQhF7cvRLdqs-2FEqMeuEqNekHgVooEk0IU4qLcub-2BmzGY-3D

To manage Coverity Scan email notifications for "libreoffice at lists.freedesktop.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4k1FZJSDV-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5N5X-2B1MAElavPQhH6nLwozJzqOkt2k8uOkYf2ZoppNa9QVe0T3fEZVQ7Kky1tOkLz_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyhmdi5ccpcXUN-2BjYu9ss4w-2FmHgM-2F2zfnKptla17YHK8qNbpNECZH0QrzfwXierIEOL34-2FMTtrdTAYU0YZLX14cLGWR6fIwDj-2BrWoIN0YsZPSEvL8c5xFNtsVg3MQvAHsB4YbsGXt1-2Fj3hy8KzC8HMEpaBJyP4png5kyzSRE6eTIU-3D



More information about the LibreOffice mailing list