New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Sun Aug 2 17:49:43 PDT 2015
Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
31 new defect(s) introduced to LibreOffice found with Coverity Scan.
24 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 20 of 31 defect(s)
** CID 1315077: Uninitialized members (UNINIT_CTOR)
/usr/include/c++/5.1.1/functional: 2246 in std::function<bool (const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const com::sun::star::rendering::ARGBColor &, const std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon>> &)>::function(const std::function<bool (const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const com::sun::star::rendering::ARGBColor &, const std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon>> &)>&)()
________________________________________________________________________________________________________
*** CID 1315077: Uninitialized members (UNINIT_CTOR)
/usr/include/c++/5.1.1/functional: 2246 in std::function<bool (const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const com::sun::star::rendering::ARGBColor &, const std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon>> &)>::function(const std::function<bool (const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const com::sun::star::rendering::ARGBColor &, const std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon>> &)>&)()
2240 if (static_cast<bool>(__x))
2241 {
2242 __x._M_manager(_M_functor, __x._M_functor, __clone_functor);
2243 _M_invoker = __x._M_invoker;
2244 _M_manager = __x._M_manager;
2245 }
>>> CID 1315077: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "_M_invoker" is not initialized in this constructor nor in any functions that it calls.
2246 }
2247
2248 template<typename _Res, typename... _ArgTypes>
2249 template<typename _Functor, typename>
2250 function<_Res(_ArgTypes...)>::
2251 function(_Functor __f)
** CID 1315076: Uninitialized members (UNINIT_CTOR)
/usr/include/c++/5.1.1/functional: 2007 in std::function<bool (const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const com::sun::star::rendering::ARGBColor &, const std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon>> &)>::function()()
________________________________________________________________________________________________________
*** CID 1315076: Uninitialized members (UNINIT_CTOR)
/usr/include/c++/5.1.1/functional: 2007 in std::function<bool (const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const com::sun::star::rendering::ARGBColor &, const std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon>> &)>::function()()
2001
2002 /**
2003 * @brief Default construct creates an empty function call wrapper.
2004 * @post @c !(bool)*this
2005 */
2006 function() noexcept
>>> CID 1315076: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "_M_invoker" is not initialized in this constructor nor in any functions that it calls.
2007 : _Function_base() { }
2008
2009 /**
2010 * @brief Creates an empty function call wrapper.
2011 * @post @c !(bool)*this
2012 */
** CID 1315075: Uninitialized members (UNINIT_CTOR)
/libreofficekit/source/gtk/tilebuffer.hxx: 209 in LOEvent::LOEvent(int)()
________________________________________________________________________________________________________
*** CID 1315075: Uninitialized members (UNINIT_CTOR)
/libreofficekit/source/gtk/tilebuffer.hxx: 209 in LOEvent::LOEvent(int)()
203 int m_nSetGraphicSelectionX;
204 int m_nSetGraphicSelectionY;
205 ///@}
206
207 /// Constructor to instantiate an object of type `type`.
208 LOEvent(int type)
>>> CID 1315075: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "m_nSetGraphicSelectionY" is not initialized in this constructor nor in any functions that it calls.
209 : m_nType(type) {}
210 };
211
212 #endif // INCLUDED_TILEBUFFER_HXX
213
** CID 1315074: (PASS_BY_VALUE)
/usr/include/c++/5.1.1/functional: 2251 in std::function<bool (const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const com::sun::star::rendering::ARGBColor &, const std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon>> &)>::function<boost::_bi::bind_t<bool, bool (*)(const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const com::sun::star::rendering::Texture &, const com::sun::star::geometry::IntegerSize2D &, const com::sun::star::uno::Sequence<signed char> &, unsigned int, const std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon>> &), boost::_bi::list9<boost::arg<(int)1>, boost::arg<(int)2>, boost::arg<(int)3>, boost::arg<(int)4>, boost::_bi::value<com::sun::star::rendering::Texture>, boost::_bi::value<com::sun::star::geometry::IntegerSize2D>, boost::_bi::value<com::sun::star::uno::Sequence<signed char>>, boost::_bi::value<unsigned int>, boost::arg<(int)6
>>>, void>(T1)()
/usr/include/c++/5.1.1/functional: 2251 in std::function<bool (const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const com::sun::star::rendering::ARGBColor &, const std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon>> &)>::function<boost::_bi::bind_t<bool, bool (*)(const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const canvas::ParametricPolyPolygon::Values &, const com::sun::star::rendering::Texture &, const std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon>> &), boost::_bi::list7<boost::arg<(int)1>, boost::arg<(int)2>, boost::arg<(int)3>, boost::arg<(int)4>, boost::_bi::value<canvas::ParametricPolyPolygon::Values>, boost::_bi::value<com::sun::star::rendering::Texture>, boost::arg<(int)6>>>, void>(T1)()
/usr/include/c++/5.1.1/functional: 2251 in std::function<bool (const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const com::sun::star::rendering::ARGBColor &, const std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon>> &)>::function<boost::_bi::bind_t<bool, bool (*)(const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const com::sun::star::rendering::ARGBColor &, const oglcanvas::CanvasBitmap &), boost::_bi::list6<boost::arg<(int)1>, boost::arg<(int)2>, boost::arg<(int)3>, boost::arg<(int)4>, boost::arg<(int)5>, boost::_bi::value<oglcanvas::CanvasBitmap>>>, void>(T1)()
________________________________________________________________________________________________________
*** CID 1315074: (PASS_BY_VALUE)
/usr/include/c++/5.1.1/functional: 2251 in std::function<bool (const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const com::sun::star::rendering::ARGBColor &, const std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon>> &)>::function<boost::_bi::bind_t<bool, bool (*)(const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const com::sun::star::rendering::Texture &, const com::sun::star::geometry::IntegerSize2D &, const com::sun::star::uno::Sequence<signed char> &, unsigned int, const std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon>> &), boost::_bi::list9<boost::arg<(int)1>, boost::arg<(int)2>, boost::arg<(int)3>, boost::arg<(int)4>, boost::_bi::value<com::sun::star::rendering::Texture>, boost::_bi::value<com::sun::star::geometry::IntegerSize2D>, boost::_bi::value<com::sun::star::uno::Sequence<signed char>>, boost::_bi::value<unsigned int>, boost::arg<(int)6
>>>, void>(T1)()
2245 }
2246 }
2247
2248 template<typename _Res, typename... _ArgTypes>
2249 template<typename _Functor, typename>
2250 function<_Res(_ArgTypes...)>::
>>> CID 1315074: (PASS_BY_VALUE)
>>> Passing parameter __f of type "boost::_bi::bind_t<bool, bool (*)(oglcanvas::CanvasHelper const &, basegfx::B2DHomMatrix const &, unsigned int, unsigned int, com::sun::star::rendering::Texture const &, com::sun::star::geometry::IntegerSize2D const &, com::sun::star::uno::Sequence<signed char> const &, unsigned int, std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon> > const &), boost::_bi::list9<boost::arg<1>, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::_bi::value<com::sun::star::rendering::Texture>, boost::_bi::value<com::sun::star::geometry::IntegerSize2D>, boost::_bi::value<com::sun::star::uno::Sequence<signed char> >, boost::_bi::value<unsigned int>, boost::arg<6> > >" (size 168 bytes) by value.
2251 function(_Functor __f)
2252 : _Function_base()
2253 {
2254 typedef _Function_handler<_Signature_type, _Functor> _My_handler;
2255
2256 if (_My_handler::_M_not_empty_function(__f))
/usr/include/c++/5.1.1/functional: 2251 in std::function<bool (const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const com::sun::star::rendering::ARGBColor &, const std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon>> &)>::function<boost::_bi::bind_t<bool, bool (*)(const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const canvas::ParametricPolyPolygon::Values &, const com::sun::star::rendering::Texture &, const std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon>> &), boost::_bi::list7<boost::arg<(int)1>, boost::arg<(int)2>, boost::arg<(int)3>, boost::arg<(int)4>, boost::_bi::value<canvas::ParametricPolyPolygon::Values>, boost::_bi::value<com::sun::star::rendering::Texture>, boost::arg<(int)6>>>, void>(T1)()
2245 }
2246 }
2247
2248 template<typename _Res, typename... _ArgTypes>
2249 template<typename _Functor, typename>
2250 function<_Res(_ArgTypes...)>::
>>> CID 1315074: (PASS_BY_VALUE)
>>> Passing parameter __f of type "boost::_bi::bind_t<bool, bool (*)(oglcanvas::CanvasHelper const &, basegfx::B2DHomMatrix const &, unsigned int, unsigned int, canvas::ParametricPolyPolygon::Values const &, com::sun::star::rendering::Texture const &, std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon> > const &), boost::_bi::list7<boost::arg<1>, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::_bi::value<canvas::ParametricPolyPolygon::Values>, boost::_bi::value<com::sun::star::rendering::Texture>, boost::arg<6> > >" (size 184 bytes) by value.
2251 function(_Functor __f)
2252 : _Function_base()
2253 {
2254 typedef _Function_handler<_Signature_type, _Functor> _My_handler;
2255
2256 if (_My_handler::_M_not_empty_function(__f))
/usr/include/c++/5.1.1/functional: 2251 in std::function<bool (const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const com::sun::star::rendering::ARGBColor &, const std::vector<basegfx::B2DPolyPolygon, std::allocator<basegfx::B2DPolyPolygon>> &)>::function<boost::_bi::bind_t<bool, bool (*)(const oglcanvas::CanvasHelper &, const basegfx::B2DHomMatrix &, unsigned int, unsigned int, const com::sun::star::rendering::ARGBColor &, const oglcanvas::CanvasBitmap &), boost::_bi::list6<boost::arg<(int)1>, boost::arg<(int)2>, boost::arg<(int)3>, boost::arg<(int)4>, boost::arg<(int)5>, boost::_bi::value<oglcanvas::CanvasBitmap>>>, void>(T1)()
2245 }
2246 }
2247
2248 template<typename _Res, typename... _ArgTypes>
2249 template<typename _Functor, typename>
2250 function<_Res(_ArgTypes...)>::
>>> CID 1315074: (PASS_BY_VALUE)
>>> Passing parameter __f of type "boost::_bi::bind_t<bool, bool (*)(oglcanvas::CanvasHelper const &, basegfx::B2DHomMatrix const &, unsigned int, unsigned int, com::sun::star::rendering::ARGBColor const &, oglcanvas::CanvasBitmap const &), boost::_bi::list6<boost::arg<1>, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::arg<5>, boost::_bi::value<oglcanvas::CanvasBitmap> > >" (size 168 bytes) by value.
2251 function(_Functor __f)
2252 : _Function_base()
2253 {
2254 typedef _Function_handler<_Signature_type, _Functor> _My_handler;
2255
2256 if (_My_handler::_M_not_empty_function(__f))
** CID 1315018: Parse warnings (PARSE_ERROR)
/vcl/source/opengl/OpenGLHelper.cxx: 1 in ()
________________________________________________________________________________________________________
*** CID 1315018: Parse warnings (PARSE_ERROR)
/vcl/source/opengl/OpenGLHelper.cxx: 1 in ()
>>> CID 1315018: Parse warnings (PARSE_ERROR)
>>> The Coverity compiler fails to compile this file. Please see the build output log for more information.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
** CID 1315017: Parse warnings (PARSE_ERROR)
/vcl/opengl/program.cxx: 1 in ()
________________________________________________________________________________________________________
*** CID 1315017: Parse warnings (PARSE_ERROR)
/vcl/opengl/program.cxx: 1 in ()
>>> CID 1315017: Parse warnings (PARSE_ERROR)
>>> The Coverity compiler fails to compile this file. Please see the build output log for more information.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
** CID 1315016: Parse warnings (PARSE_ERROR)
/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx: 1 in ()
________________________________________________________________________________________________________
*** CID 1315016: Parse warnings (PARSE_ERROR)
/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx: 1 in ()
>>> CID 1315016: Parse warnings (PARSE_ERROR)
>>> The Coverity compiler fails to compile this file. Please see the build output log for more information.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
3 *
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 *
6 * Copyright 2008 by Sun Microsystems, Inc.
** CID 1315015: Parse warnings (PARSE_ERROR)
/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx: 1 in ()
________________________________________________________________________________________________________
*** CID 1315015: Parse warnings (PARSE_ERROR)
/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx: 1 in ()
>>> CID 1315015: Parse warnings (PARSE_ERROR)
>>> The Coverity compiler fails to compile this file. Please see the build output log for more information.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
3 *
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 *
6 * Copyright 2008 by Sun Microsystems, Inc.
** CID 1315014: Parse warnings (PARSE_ERROR)
/chart2/source/view/main/OpenglShapeFactory.cxx: 1 in ()
________________________________________________________________________________________________________
*** CID 1315014: Parse warnings (PARSE_ERROR)
/chart2/source/view/main/OpenglShapeFactory.cxx: 1 in ()
>>> CID 1315014: Parse warnings (PARSE_ERROR)
>>> The Coverity compiler fails to compile this file. Please see the build output log for more information.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
** CID 1315013: Parse warnings (PARSE_ERROR)
/chart2/source/view/main/OpenGLRender.cxx: 1 in ()
________________________________________________________________________________________________________
*** CID 1315013: Parse warnings (PARSE_ERROR)
/chart2/source/view/main/OpenGLRender.cxx: 1 in ()
>>> CID 1315013: Parse warnings (PARSE_ERROR)
>>> The Coverity compiler fails to compile this file. Please see the build output log for more information.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
** CID 1315012: Parse warnings (PARSE_ERROR)
/chart2/source/view/main/GL3DRenderer.cxx: 1 in ()
________________________________________________________________________________________________________
*** CID 1315012: Parse warnings (PARSE_ERROR)
/chart2/source/view/main/GL3DRenderer.cxx: 1 in ()
>>> CID 1315012: Parse warnings (PARSE_ERROR)
>>> The Coverity compiler fails to compile this file. Please see the build output log for more information.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
** CID 1315011: Parse warnings (PARSE_ERROR)
/chart2/source/view/main/DummyXShape.cxx: 1 in ()
________________________________________________________________________________________________________
*** CID 1315011: Parse warnings (PARSE_ERROR)
/chart2/source/view/main/DummyXShape.cxx: 1 in ()
>>> CID 1315011: Parse warnings (PARSE_ERROR)
>>> The Coverity compiler fails to compile this file. Please see the build output log for more information.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
** CID 1315010: Parse warnings (PARSE_ERROR)
/chart2/source/view/main/ChartView.cxx: 1 in ()
________________________________________________________________________________________________________
*** CID 1315010: Parse warnings (PARSE_ERROR)
/chart2/source/view/main/ChartView.cxx: 1 in ()
>>> CID 1315010: Parse warnings (PARSE_ERROR)
>>> The Coverity compiler fails to compile this file. Please see the build output log for more information.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
** CID 1315009: Parse warnings (PARSE_ERROR)
/chart2/source/view/main/3DChartObjects.cxx: 1 in ()
________________________________________________________________________________________________________
*** CID 1315009: Parse warnings (PARSE_ERROR)
/chart2/source/view/main/3DChartObjects.cxx: 1 in ()
>>> CID 1315009: Parse warnings (PARSE_ERROR)
>>> The Coverity compiler fails to compile this file. Please see the build output log for more information.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
** CID 1315008: Parse warnings (PARSE_ERROR)
/chart2/source/view/charttypes/GL3DBarChart.cxx: 1 in ()
________________________________________________________________________________________________________
*** CID 1315008: Parse warnings (PARSE_ERROR)
/chart2/source/view/charttypes/GL3DBarChart.cxx: 1 in ()
>>> CID 1315008: Parse warnings (PARSE_ERROR)
>>> The Coverity compiler fails to compile this file. Please see the build output log for more information.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
** CID 1315007: Parse warnings (PARSE_ERROR)
/avmedia/source/opengl/oglwindow.cxx: 1 in ()
________________________________________________________________________________________________________
*** CID 1315007: Parse warnings (PARSE_ERROR)
/avmedia/source/opengl/oglwindow.cxx: 1 in ()
>>> CID 1315007: Parse warnings (PARSE_ERROR)
>>> The Coverity compiler fails to compile this file. Please see the build output log for more information.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
** CID 1315006: Parse warnings (PARSE_ERROR)
/avmedia/source/opengl/oglplayer.cxx: 1 in ()
________________________________________________________________________________________________________
*** CID 1315006: Parse warnings (PARSE_ERROR)
/avmedia/source/opengl/oglplayer.cxx: 1 in ()
>>> CID 1315006: Parse warnings (PARSE_ERROR)
>>> The Coverity compiler fails to compile this file. Please see the build output log for more information.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
** CID 1315005: Parse warnings (PARSE_ERROR)
/avmedia/source/opengl/oglmanager.cxx: 1 in ()
________________________________________________________________________________________________________
*** CID 1315005: Parse warnings (PARSE_ERROR)
/avmedia/source/opengl/oglmanager.cxx: 1 in ()
>>> CID 1315005: Parse warnings (PARSE_ERROR)
>>> The Coverity compiler fails to compile this file. Please see the build output log for more information.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
** CID 1315004: Parse warnings (PARSE_ERROR)
/avmedia/source/opengl/oglframegrabber.cxx: 1 in ()
________________________________________________________________________________________________________
*** CID 1315004: Parse warnings (PARSE_ERROR)
/avmedia/source/opengl/oglframegrabber.cxx: 1 in ()
>>> CID 1315004: Parse warnings (PARSE_ERROR)
>>> The Coverity compiler fails to compile this file. Please see the build output log for more information.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
** CID 1315003: Null pointer dereferences (NULL_RETURNS)
/svtools/source/contnr/foldertree.cxx: 39 in FolderTree::FillTreeEntry(SvTreeListEntry *)()
________________________________________________________________________________________________________
*** CID 1315003: Null pointer dereferences (NULL_RETURNS)
/svtools/source/contnr/foldertree.cxx: 39 in FolderTree::FillTreeEntry(SvTreeListEntry *)()
33 void FolderTree::FillTreeEntry( SvTreeListEntry* pEntry )
34 {
35 if( pEntry )
36 {
37 while( GetChildCount( pEntry ) > 0 )
38 {
>>> CID 1315003: Null pointer dereferences (NULL_RETURNS)
>>> Assigning: "pChild" = null return value from "FirstChild".
39 SvTreeListEntry* pChild = FirstChild( pEntry );
40 GetModel()->Remove( pChild );
41 }
42
43 ::std::vector< SortingData_Impl* > aContent;
44
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/211?tab=overview
To manage Coverity Scan email notifications for "libreoffice at lists.freedesktop.org", click https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org&token=d6481d718a775246b2340f282ebe5939
More information about the LibreOffice
mailing list