New Defects reported by Coverity Scan for LibreOffice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
5 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 1440303:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/core/data/column3.cxx: 2394 in <unnamed>::FormulaToValueHandler::Entry::Entry(<unnamed>::FormulaToValueHandler::Entry&&)()


________________________________________________________________________________________________________
*** CID 1440303:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/core/data/column3.cxx: 2394 in <unnamed>::FormulaToValueHandler::Entry::Entry(<unnamed>::FormulaToValueHandler::Entry&&)()
2388     }
2389     
2390     namespace {
2391     
2392     class FormulaToValueHandler
2393     {
>>>     CID 1440303:  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().
2394         struct Entry
2395         {
2396             SCROW const mnRow;
2397             ScCellValue const maValue;
2398     
2399             Entry(SCROW nRow, double f) : mnRow(nRow), maValue(f) {}

** CID 1440302:  Error handling issues  (UNCAUGHT_EXCEPT)
/oox/qa/unit/vba_compression.cxx: 20 in TestVbaCompression::TestVbaCompression()()


________________________________________________________________________________________________________
*** CID 1440302:  Error handling issues  (UNCAUGHT_EXCEPT)
/oox/qa/unit/vba_compression.cxx: 20 in TestVbaCompression::TestVbaCompression()()
14     #include <oox/ole/vbaexport.hxx>
15     #include <rtl/bootstrap.hxx>
16     #include <tools/stream.hxx>
17     #include <unotest/directories.hxx>
18     #include <algorithm>
19     
>>>     CID 1440302:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "CppUnit::Exception" 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().
20     class TestVbaCompression : public CppUnit::TestFixture
21     {
22     public:
23         // just a sequence of bytes that should not be compressed at all
24         void testSimple1();
25     

** CID 1440301:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/core/data/column3.cxx: 2394 in <unnamed>::FormulaToValueHandler::Entry::Entry(const <unnamed>::FormulaToValueHandler::Entry&)()


________________________________________________________________________________________________________
*** CID 1440301:  Error handling issues  (UNCAUGHT_EXCEPT)
/sc/source/core/data/column3.cxx: 2394 in <unnamed>::FormulaToValueHandler::Entry::Entry(const <unnamed>::FormulaToValueHandler::Entry&)()
2388     }
2389     
2390     namespace {
2391     
2392     class FormulaToValueHandler
2393     {
>>>     CID 1440301:  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().
2394         struct Entry
2395         {
2396             SCROW const mnRow;
2397             ScCellValue const maValue;
2398     
2399             Entry(SCROW nRow, double f) : mnRow(nRow), maValue(f) {}

** CID 1440300:  API usage errors  (INVALIDATE_ITERATOR)
/vcl/source/window/dlgctrl.cxx: 548 in <unnamed>::focusNextInGroup(const __gnu_cxx::__normal_iterator<VclPtr<RadioButton> *, std::vector<VclPtr<RadioButton>, std::allocator<VclPtr<RadioButton>>>> &, std::vector<VclPtr<RadioButton>, std::allocator<VclPtr<RadioButton>>> &)()


________________________________________________________________________________________________________
*** CID 1440300:  API usage errors  (INVALIDATE_ITERATOR)
/vcl/source/window/dlgctrl.cxx: 548 in <unnamed>::focusNextInGroup(const __gnu_cxx::__normal_iterator<VclPtr<RadioButton> *, std::vector<VclPtr<RadioButton>, std::allocator<VclPtr<RadioButton>>>> &, std::vector<VclPtr<RadioButton>, std::allocator<VclPtr<RadioButton>>> &)()
542             {
543                 aI = std::find_if(rGroup.begin(), aStart, isSuitableDestination);
544                 if (aI == aStart)
545                     return false;
546             }
547     
>>>     CID 1440300:  API usage errors  (INVALIDATE_ITERATOR)
>>>     Dereferencing iterator "aI" though it is already past the end of its container.
548             vcl::Window *pWindow = *aI;
549     
550             pWindow->ImplControlFocus( GetFocusFlags::CURSOR | GetFocusFlags::Forward );
551             return true;
552         }
553     


________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyrqxNmtDNMQOfRHSvcL0NvhMePqxge-2FwBFwmy9hgwTQtBv-2FtrqR2NYOlBEj2Gst1NdyElw5d-2FG-2F4gUEUjEC9Paz2XHOjJ-2BHJkyMp0m2KFtntPxEc6NMev4YDcy3RCO4SRoXE93-2F8i39fGNtgxt5hMdLpIn86gMQA6UFRDARnzgXg-3D

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux