Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index



Hi,

Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.

2 new defect(s) introduced to LibreOffice found with Coverity Scan.
6 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 2 of 2 defect(s)


** CID 1341778:  Control flow issues  (DEADCODE)
/sc/source/core/tool/formulagroup.cxx: 347 in sc::FormulaGroupInterpreter::switchOpenCLDevice(const 
rtl::OUString &, bool, bool)()


________________________________________________________________________________________________________
*** CID 1341778:  Control flow issues  (DEADCODE)
/sc/source/core/tool/formulagroup.cxx: 347 in sc::FormulaGroupInterpreter::switchOpenCLDevice(const 
rtl::OUString &, bool, bool)()
341         if (bOpenCLEnabled)
342         {
343             msInstance = new sc::opencl::FormulaGroupInterpreterOpenCL();
344             return msInstance != nullptr;
345         }
346     
    CID 1341778:  Control flow issues  (DEADCODE)
    Execution cannot reach this statement: "return false;".
347         return false;
348     }
349     
350     void FormulaGroupInterpreter::getOpenCLDeviceInfo(sal_Int32& rDeviceId, sal_Int32& 
rPlatformId)
351     {
352         rDeviceId = -1;

** CID 1341777:  Resource leaks  (CTOR_DTOR_LEAK)
/sw/source/filter/ww8/ww8scan.cxx: 1706 in WW8ScannerBase::WW8ScannerBase(SvStream *, SvStream *, 
SvStream *, WW8Fib *)()


________________________________________________________________________________________________________
*** CID 1341777:  Resource leaks  (CTOR_DTOR_LEAK)
/sw/source/filter/ww8/ww8scan.cxx: 1706 in WW8ScannerBase::WW8ScannerBase(SvStream *, SvStream *, 
SvStream *, WW8Fib *)()
1700             pHdFtTxbx = new WW8PLCFspecial( pTableSt, pWwFib->fcPlcfHdrtxbxText,
1701                 pWwFib->lcbPlcfHdrtxbxText, nLenTxBxS );
1702         }
1703     
1704         pBook = new WW8PLCFx_Book(pTableSt, *pWwFib);
1705         pAtnBook = new WW8PLCFx_AtnBook(pTableSt, *pWwFib);
    CID 1341777:  Resource leaks  (CTOR_DTOR_LEAK)
    The constructor allocates field "pFactoidBook" of "WW8ScannerBase" but the destructor and 
whatever functions it calls do not free it.
1706         pFactoidBook = new WW8PLCFx_FactoidBook(pTableSt, *pWwFib);
1707     }
1708     
1709     WW8ScannerBase::~WW8ScannerBase()
1710     {
1711         DeletePieceTable();


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://scan.coverity.com/projects/libreoffice?tab=overview

To manage Coverity Scan email notifications for "libreoffice@lists.freedesktop.org", click 
https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org&token=d6481d718a775246b2340f282ebe5939


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.