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.

5 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 5 of 5 defect(s)


** CID 1341507:  Uninitialized members  (UNINIT_CTOR)
/sc/source/core/tool/scmatrix.cxx: 2844 in ScVectorRefMatrix::ScVectorRefMatrix(const 
formula::DoubleVectorRefToken *, unsigned long, unsigned long)()


________________________________________________________________________________________________________
*** CID 1341507:  Uninitialized members  (UNINIT_CTOR)
/sc/source/core/tool/scmatrix.cxx: 2844 in ScVectorRefMatrix::ScVectorRefMatrix(const 
formula::DoubleVectorRefToken *, unsigned long, unsigned long)()
2838     ScVectorRefMatrix::ScVectorRefMatrix(const formula::DoubleVectorRefToken* pToken, SCSIZE 
nRowStart, SCSIZE nRowSize)
2839         : ScMatrix()
2840         , mpToken(pToken)
2841         , mnRowStart(nRowStart)
2842         , mnRowSize(nRowSize)
2843     {
    CID 1341507:  Uninitialized members  (UNINIT_CTOR)
    Non-static class member "mpErrorInterpreter" is not initialized in this constructor nor in 
any functions that it calls.
2844     }
2845     
2846     ScVectorRefMatrix::~ScVectorRefMatrix()
2847     {
2848     }
2849     

** CID 1341506:    (UNINIT)
/vcl/headless/svpgdi.cxx: 1036 in SvpSalGraphics::drawPolyPolygon(const basegfx::B2DPolyPolygon &, 
double)()
/vcl/headless/svpgdi.cxx: 1036 in SvpSalGraphics::drawPolyPolygon(const basegfx::B2DPolyPolygon &, 
double)()
/vcl/headless/svpgdi.cxx: 1036 in SvpSalGraphics::drawPolyPolygon(const basegfx::B2DPolyPolygon &, 
double)()
/vcl/headless/svpgdi.cxx: 1036 in SvpSalGraphics::drawPolyPolygon(const basegfx::B2DPolyPolygon &, 
double)()


________________________________________________________________________________________________________
*** CID 1341506:    (UNINIT)
/vcl/headless/svpgdi.cxx: 1036 in SvpSalGraphics::drawPolyPolygon(const basegfx::B2DPolyPolygon &, 
double)()
1030     
1031         cairo_surface_flush(cairo_get_target(cr));
1032         cairo_destroy(cr); // unref
1033     
1034         if (xDamageTracker)
1035         {
    CID 1341506:    (UNINIT)
    Using uninitialized value "extents.height".
1036             xDamageTracker->damaged(basegfx::B2IBox(extents.x, extents.y, extents.x + 
extents.width,
1037                                                     extents.y + extents.height));
1038         }
1039     
1040         return true;
1041     }
/vcl/headless/svpgdi.cxx: 1036 in SvpSalGraphics::drawPolyPolygon(const basegfx::B2DPolyPolygon &, 
double)()
1030     
1031         cairo_surface_flush(cairo_get_target(cr));
1032         cairo_destroy(cr); // unref
1033     
1034         if (xDamageTracker)
1035         {
    CID 1341506:    (UNINIT)
    Using uninitialized value "extents.width".
1036             xDamageTracker->damaged(basegfx::B2IBox(extents.x, extents.y, extents.x + 
extents.width,
1037                                                     extents.y + extents.height));
1038         }
1039     
1040         return true;
1041     }
/vcl/headless/svpgdi.cxx: 1036 in SvpSalGraphics::drawPolyPolygon(const basegfx::B2DPolyPolygon &, 
double)()
1030     
1031         cairo_surface_flush(cairo_get_target(cr));
1032         cairo_destroy(cr); // unref
1033     
1034         if (xDamageTracker)
1035         {
    CID 1341506:    (UNINIT)
    Using uninitialized value "extents.x".
1036             xDamageTracker->damaged(basegfx::B2IBox(extents.x, extents.y, extents.x + 
extents.width,
1037                                                     extents.y + extents.height));
1038         }
1039     
1040         return true;
1041     }
/vcl/headless/svpgdi.cxx: 1036 in SvpSalGraphics::drawPolyPolygon(const basegfx::B2DPolyPolygon &, 
double)()
1030     
1031         cairo_surface_flush(cairo_get_target(cr));
1032         cairo_destroy(cr); // unref
1033     
1034         if (xDamageTracker)
1035         {
    CID 1341506:    (UNINIT)
    Using uninitialized value "extents.y".
1036             xDamageTracker->damaged(basegfx::B2IBox(extents.x, extents.y, extents.x + 
extents.width,
1037                                                     extents.y + extents.height));
1038         }
1039     
1040         return true;
1041     }

** CID 1341505:    (UNINIT)
/vcl/headless/svpgdi.cxx: 382 in SvpSalGraphics::drawAlphaRect(long, long, long, long, unsigned 
char)()
/vcl/headless/svpgdi.cxx: 382 in SvpSalGraphics::drawAlphaRect(long, long, long, long, unsigned 
char)()
/vcl/headless/svpgdi.cxx: 382 in SvpSalGraphics::drawAlphaRect(long, long, long, long, unsigned 
char)()
/vcl/headless/svpgdi.cxx: 382 in SvpSalGraphics::drawAlphaRect(long, long, long, long, unsigned 
char)()


________________________________________________________________________________________________________
*** CID 1341505:    (UNINIT)
/vcl/headless/svpgdi.cxx: 382 in SvpSalGraphics::drawAlphaRect(long, long, long, long, unsigned 
char)()
376     
377         cairo_surface_flush(cairo_get_target(cr));
378         cairo_destroy(cr); // unref
379     
380         if (xDamageTracker)
381         {
    CID 1341505:    (UNINIT)
    Using uninitialized value "extents.height".
382             xDamageTracker->damaged(basegfx::B2IBox(extents.x, extents.y, extents.x + 
extents.width,
383                                                     extents.y + extents.height));
384         }
385         return true;
386     }
387     
/vcl/headless/svpgdi.cxx: 382 in SvpSalGraphics::drawAlphaRect(long, long, long, long, unsigned 
char)()
376     
377         cairo_surface_flush(cairo_get_target(cr));
378         cairo_destroy(cr); // unref
379     
380         if (xDamageTracker)
381         {
    CID 1341505:    (UNINIT)
    Using uninitialized value "extents.width".
382             xDamageTracker->damaged(basegfx::B2IBox(extents.x, extents.y, extents.x + 
extents.width,
383                                                     extents.y + extents.height));
384         }
385         return true;
386     }
387     
/vcl/headless/svpgdi.cxx: 382 in SvpSalGraphics::drawAlphaRect(long, long, long, long, unsigned 
char)()
376     
377         cairo_surface_flush(cairo_get_target(cr));
378         cairo_destroy(cr); // unref
379     
380         if (xDamageTracker)
381         {
    CID 1341505:    (UNINIT)
    Using uninitialized value "extents.x".
382             xDamageTracker->damaged(basegfx::B2IBox(extents.x, extents.y, extents.x + 
extents.width,
383                                                     extents.y + extents.height));
384         }
385         return true;
386     }
387     
/vcl/headless/svpgdi.cxx: 382 in SvpSalGraphics::drawAlphaRect(long, long, long, long, unsigned 
char)()
376     
377         cairo_surface_flush(cairo_get_target(cr));
378         cairo_destroy(cr); // unref
379     
380         if (xDamageTracker)
381         {
    CID 1341505:    (UNINIT)
    Using uninitialized value "extents.y".
382             xDamageTracker->damaged(basegfx::B2IBox(extents.x, extents.y, extents.x + 
extents.width,
383                                                     extents.y + extents.height));
384         }
385         return true;
386     }
387     

** CID 1341504:  Uninitialized variables  (UNINIT)
/vcl/unx/gtk/gtksalframe.cxx: 2889 in GtkSalFrame::createNewWindow(unsigned long, bool, 
SalX11Screen)()


________________________________________________________________________________________________________
*** CID 1341504:  Uninitialized variables  (UNINIT)
/vcl/unx/gtk/gtksalframe.cxx: 2889 in GtkSalFrame::createNewWindow(unsigned long, bool, 
SalX11Screen)()
2883         if( bWasVisible )
2884             Show( false );
2885     
2886         if( (int)nXScreen.getXScreen() >= getDisplay()->GetXScreenCount() )
2887             nXScreen = m_nXScreen;
2888     
    CID 1341504:  Uninitialized variables  (UNINIT)
    Declaring variable "aParentData" without initializer.
2889         SystemParentData aParentData;
2890         aParentData.aWindow = aNewParent;
2891         aParentData.bXEmbedSupport = bXEmbed;
2892         if( aNewParent == None )
2893         {
2894             aParentData.aWindow = None;

** CID 1196531:    (UNINIT_CTOR)
/usr/include/c++/5.1.1/functional: 2262 in std::function<int (const SwDoc &, rtl::OUString *, 
int)>::function<int (*)(const SwDoc &, rtl::OUString *, int), void>(T1)()
/usr/include/c++/5.1.1/functional: 2262 in 
std::function<com::sun::star::uno::Reference<com::sun::star::style::XStyle> (SfxStyleSheetBasePool 
*, SwDocShell *, const rtl::OUString 
&)>::function<com::sun::star::uno::Reference<com::sun::star::style::XStyle> 
(*)(SfxStyleSheetBasePool *, SwDocShell *, const rtl::OUString &), void>(T1)()


________________________________________________________________________________________________________
*** CID 1196531:    (UNINIT_CTOR)
/usr/include/c++/5.1.1/functional: 2262 in std::function<int (const SwDoc &, rtl::OUString *, 
int)>::function<int (*)(const SwDoc &, rtl::OUString *, int), void>(T1)()
2256            if (_My_handler::_M_not_empty_function(__f))
2257              {
2258                _My_handler::_M_init_functor(_M_functor, std::move(__f));
2259                _M_invoker = &_My_handler::_M_invoke;
2260                _M_manager = &_My_handler::_M_manager;
2261              }
    CID 1196531:    (UNINIT_CTOR)
    Non-static class member "_M_invoker" is not initialized in this constructor nor in any 
functions that it calls.
2262           }
2263     
2264       template<typename _Res, typename... _ArgTypes>
2265         _Res
2266         function<_Res(_ArgTypes...)>::
2267         operator()(_ArgTypes... __args) const
/usr/include/c++/5.1.1/functional: 2262 in 
std::function<com::sun::star::uno::Reference<com::sun::star::style::XStyle> (SfxStyleSheetBasePool 
*, SwDocShell *, const rtl::OUString 
&)>::function<com::sun::star::uno::Reference<com::sun::star::style::XStyle> 
(*)(SfxStyleSheetBasePool *, SwDocShell *, const rtl::OUString &), void>(T1)()
2256            if (_My_handler::_M_not_empty_function(__f))
2257              {
2258                _My_handler::_M_init_functor(_M_functor, std::move(__f));
2259                _M_invoker = &_My_handler::_M_invoke;
2260                _M_manager = &_My_handler::_M_manager;
2261              }
    CID 1196531:    (UNINIT_CTOR)
    Non-static class member "_M_invoker" is not initialized in this constructor nor in any 
functions that it calls.
2262           }
2263     
2264       template<typename _Res, typename... _ArgTypes>
2265         _Res
2266         function<_Res(_ArgTypes...)>::
2267         operator()(_ArgTypes... __args) const


________________________________________________________________________________________________________
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.