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



Hi,

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

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


** CID 1224711:  Uninitialized pointer field  (UNINIT_CTOR)
/usr/include/c++/4.9.2/bits/hashtable.h: 803 in std::_Hashtable<unsigned int, std::pair<const 
unsigned int, unsigned int>, std::allocator<std::pair<const unsigned int, unsigned int>>, 
std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, 
std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, 
std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<(bool)0, (bool)0, 
(bool)1>>::_Hashtable(unsigned long, const std::hash<unsigned int> &, const 
std::__detail::_Mod_range_hashing &, const std::__detail::_Default_ranged_hash &, const 
std::equal_to<unsigned int> &, const std::__detail::_Select1st &, const 
std::allocator<std::pair<const unsigned int, unsigned int>>&)()
/usr/include/c++/4.9.2/bits/hashtable.h: 803 in std::_Hashtable<std::basic_string<char, 
std::char_traits<char>, std::allocator<char>>, std::pair<const std::basic_string<char, 
std::char_traits<char>, std::allocator<char>>, unsigned int>, std::allocator<std::pair<const 
std::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned int>>, 
std::__detail::_Select1st, std::equal_to<std::basic_string<char, std::char_traits<char>, 
std::allocator<char>>>, std::hash<std::basic_string<char, std::char_traits<char>, 
std::allocator<char>>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, 
std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<(bool)1, (bool)0, 
(bool)1>>::_Hashtable(unsigned long, const std::hash<std::basic_string<char, 
std::char_traits<char>, std::allocator<char>>> &, const std::__detail::_Mod_range_hashing &, const 
std::__detail::_Default_ranged_hash &, const std::equal_to<std::basic_string<char, 
std::char_traits<char>, std::allocator<char>>> &, const std::__detail::_Select1st &, const 
std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, 
std::allocator<char>>, unsigned int>>&)()
/usr/include/c++/4.9.2/bits/hashtable.h: 803 in std::_Hashtable<unsigned int *, std::pair<unsigned 
int *const , unsigned int>, std::allocator<std::pair<unsigned int *const , unsigned int>>, 
std::__detail::_Select1st, GLTF::RemappedMeshIndexesEq, GLTF::RemappedMeshIndexesHash, 
std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, 
std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<(bool)1, (bool)0, 
(bool)1>>::_Hashtable(unsigned long, const GLTF::RemappedMeshIndexesHash &, const 
std::__detail::_Mod_range_hashing &, const std::__detail::_Default_ranged_hash &, const 
GLTF::RemappedMeshIndexesEq &, const std::__detail::_Select1st &, const 
std::allocator<std::pair<unsigned int *const , unsigned int>>&)()

** CID 1260436:  Unchecked dynamic_cast  (FORWARD_NULL)
/sw/qa/extras/mailmerge/mailmerge.cxx: 238 in MMTest::documentStartPageNumber(int) const()

** CID 1260437:  Unchecked dynamic_cast  (FORWARD_NULL)
/sw/qa/extras/mailmerge/mailmerge.cxx: 372 in testPageBoundariesSimpleMailMerge::verify()()

** CID 1260438:  Unchecked dynamic_cast  (FORWARD_NULL)
/sw/qa/extras/mailmerge/mailmerge.cxx: 50 in MMTest::tearDown()()

** CID 1260439:  Explicit null dereferenced  (FORWARD_NULL)
/svtools/qa/unit/GraphicObjectTest.cxx: 165 in 
<unnamed>::GraphicObjectTest::testSizeBasedAutoSwap()()

** CID 1260440:  Unchecked dynamic_cast  (FORWARD_NULL)
/sw/qa/extras/globalfilter/globalfilter.cxx: 155 in Test::testLinkedGraphicRT()()

** CID 1260441:  Unchecked dynamic_cast  (FORWARD_NULL)
/sw/qa/extras/mailmerge/mailmerge.cxx: 386 in testPageBoundaries2Pages::verify()()

** CID 1260442:  Explicit null dereferenced  (FORWARD_NULL)
/svtools/qa/unit/GraphicObjectTest.cxx: 164 in 
<unnamed>::GraphicObjectTest::testSizeBasedAutoSwap()()

** CID 1260443:  Unchecked dynamic_cast  (FORWARD_NULL)
/sd/qa/unit/export-tests.cxx: 636 in SdExportTest::testLinkedGraphicRT()()

** CID 1260444:  Unchecked dynamic_cast  (FORWARD_NULL)
/svtools/qa/unit/GraphicObjectTest.cxx: 157 in 
<unnamed>::GraphicObjectTest::testSizeBasedAutoSwap()()

** CID 1260445:  Unchecked dynamic_cast  (FORWARD_NULL)
/sw/qa/extras/uiwriter/uiwriter.cxx: 660 in SwUiWriterTest::testMergeDoc()()

** CID 1260446:  Uninitialized scalar field  (UNINIT_CTOR)
/sc/source/core/tool/scmatrix.cxx: 1913 in 
wrapped_iterator<mdds::mtv::default_element_block<(int)8, bool>, 
<unnamed>::SubOp>::wrapped_iterator(std::_Bit_const_iterator, <unnamed>::SubOp)()
/sc/source/core/tool/scmatrix.cxx: 1913 in 
wrapped_iterator<mdds::mtv::default_element_block<(int)8, bool>, 
<unnamed>::AddOp>::wrapped_iterator(std::_Bit_const_iterator, <unnamed>::AddOp)()

** CID 1260447:  Uninitialized scalar field  (UNINIT_CTOR)
/sc/source/core/tool/scmatrix.cxx: 1913 in 
wrapped_iterator<mdds::mtv::default_element_block<(int)0, double>, 
<unnamed>::AddOp>::wrapped_iterator(__gnu_cxx::__normal_iterator<const double *, 
std::vector<double, std::allocator<double>>>, <unnamed>::AddOp)()
/sc/source/core/tool/scmatrix.cxx: 1913 in 
wrapped_iterator<mdds::mtv::default_element_block<(int)0, double>, 
<unnamed>::SubOp>::wrapped_iterator(__gnu_cxx::__normal_iterator<const double *, 
std::vector<double, std::allocator<double>>>, <unnamed>::SubOp)()

** CID 1260448:  Uninitialized scalar field  (UNINIT_CTOR)
/sc/qa/unit/filters-test.cxx: 770 in ScFiltersTest::ScFiltersTest()()


________________________________________________________________________________________________________
*** CID 1224711:  Uninitialized pointer field  (UNINIT_CTOR)
/usr/include/c++/4.9.2/bits/hashtable.h: 803 in std::_Hashtable<unsigned int, std::pair<const 
unsigned int, unsigned int>, std::allocator<std::pair<const unsigned int, unsigned int>>, 
std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, 
std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, 
std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<(bool)0, (bool)0, 
(bool)1>>::_Hashtable(unsigned long, const std::hash<unsigned int> &, const 
std::__detail::_Mod_range_hashing &, const std::__detail::_Default_ranged_hash &, const 
std::equal_to<unsigned int> &, const std::__detail::_Select1st &, const 
std::allocator<std::pair<const unsigned int, unsigned int>>&)()
797           __hashtable_alloc(__node_alloc_type(__a)),
798           _M_element_count(0),
799           _M_rehash_policy()
800         {
801           _M_bucket_count = _M_rehash_policy._M_next_bkt(__bucket_hint);
802           _M_buckets = _M_allocate_buckets(_M_bucket_count);
    CID 1224711:  Uninitialized pointer field  (UNINIT_CTOR)
    Non-static class member "_M_single_bucket" is not initialized in this constructor nor in 
any functions that it calls.
803         }
804     
805       template<typename _Key, typename _Value,
806                typename _Alloc, typename _ExtractKey, typename _Equal,
807                typename _H1, typename _H2, typename _Hash, typename _RehashPolicy,
808                typename _Traits>
/usr/include/c++/4.9.2/bits/hashtable.h: 803 in std::_Hashtable<std::basic_string<char, 
std::char_traits<char>, std::allocator<char>>, std::pair<const std::basic_string<char, 
std::char_traits<char>, std::allocator<char>>, unsigned int>, std::allocator<std::pair<const 
std::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned int>>, 
std::__detail::_Select1st, std::equal_to<std::basic_string<char, std::char_traits<char>, 
std::allocator<char>>>, std::hash<std::basic_string<char, std::char_traits<char>, 
std::allocator<char>>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, 
std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<(bool)1, (bool)0, 
(bool)1>>::_Hashtable(unsigned long, const std::hash<std::basic_string<char, 
std::char_traits<char>, std::allocator<char>>> &, const std::__detail::_Mod_range_hashing &, const 
std::__detail::_Default_ranged_hash &, const std::equal_to<std::basic_string<char, 
std::char_traits<char>, std::allocator<char>>> &, const std::__detail::_Select1st &, const 
std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, 
std::allocator<char>>, unsigned int>>&)()
797           __hashtable_alloc(__node_alloc_type(__a)),
798           _M_element_count(0),
799           _M_rehash_policy()
800         {
801           _M_bucket_count = _M_rehash_policy._M_next_bkt(__bucket_hint);
802           _M_buckets = _M_allocate_buckets(_M_bucket_count);
    CID 1224711:  Uninitialized pointer field  (UNINIT_CTOR)
    Non-static class member "_M_single_bucket" is not initialized in this constructor nor in 
any functions that it calls.
803         }
804     
805       template<typename _Key, typename _Value,
806                typename _Alloc, typename _ExtractKey, typename _Equal,
807                typename _H1, typename _H2, typename _Hash, typename _RehashPolicy,
808                typename _Traits>
/usr/include/c++/4.9.2/bits/hashtable.h: 803 in std::_Hashtable<unsigned int *, std::pair<unsigned 
int *const , unsigned int>, std::allocator<std::pair<unsigned int *const , unsigned int>>, 
std::__detail::_Select1st, GLTF::RemappedMeshIndexesEq, GLTF::RemappedMeshIndexesHash, 
std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, 
std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<(bool)1, (bool)0, 
(bool)1>>::_Hashtable(unsigned long, const GLTF::RemappedMeshIndexesHash &, const 
std::__detail::_Mod_range_hashing &, const std::__detail::_Default_ranged_hash &, const 
GLTF::RemappedMeshIndexesEq &, const std::__detail::_Select1st &, const 
std::allocator<std::pair<unsigned int *const , unsigned int>>&)()
797           __hashtable_alloc(__node_alloc_type(__a)),
798           _M_element_count(0),
799           _M_rehash_policy()
800         {
801           _M_bucket_count = _M_rehash_policy._M_next_bkt(__bucket_hint);
802           _M_buckets = _M_allocate_buckets(_M_bucket_count);
    CID 1224711:  Uninitialized pointer field  (UNINIT_CTOR)
    Non-static class member "_M_single_bucket" is not initialized in this constructor nor in 
any functions that it calls.
803         }
804     
805       template<typename _Key, typename _Value,
806                typename _Alloc, typename _ExtractKey, typename _Equal,
807                typename _H1, typename _H2, typename _Hash, typename _RehashPolicy,
808                typename _Traits>

________________________________________________________________________________________________________
*** CID 1260436:  Unchecked dynamic_cast  (FORWARD_NULL)
/sw/qa/extras/mailmerge/mailmerge.cxx: 238 in MMTest::documentStartPageNumber(int) const()
232     // Will generate documents as files, use loadMailMergeDocument().
233     #define DECLARE_FILE_MAILMERGE_TEST(TestName, filename, datasource, tablename) \
234         DECLARE_MAILMERGE_TEST(TestName, filename, datasource, tablename, true, MMTest)
235     
236     int MMTest::documentStartPageNumber( int document ) const
237     {   // See SwMailMergeOutputPage::documentStartPageNumber() .
    CID 1260436:  Unchecked dynamic_cast  (FORWARD_NULL)
    Assigning: "pTxtDoc" = "dynamic_cast <SwXTextDocument *>(this->mxMMComponent.get())".
238         SwXTextDocument* pTxtDoc = dynamic_cast<SwXTextDocument *>(mxMMComponent.get());
239         CPPUNIT_ASSERT(pTxtDoc);
240         SwWrtShell* shell = pTxtDoc->GetDocShell()->GetWrtShell();
241         IDocumentMarkAccess* marks = shell->GetDoc()->getIDocumentMarkAccess();
242         // Unfortunately, the pages are marked using UNO bookmarks, which have internals names, 
so they cannot be referred to by their names.
243         // Assume that there are no other UNO bookmarks than the ones used by mail merge, and 
that they are in the sorted order.

________________________________________________________________________________________________________
*** CID 1260437:  Unchecked dynamic_cast  (FORWARD_NULL)
/sw/qa/extras/mailmerge/mailmerge.cxx: 372 in testPageBoundariesSimpleMailMerge::verify()()
366         // This is like the test above, but this one uses the 
create-single-document-containing-everything-generated approach,
367         // and verifies that boundaries of the generated sub-documents are correct inside that 
document.
368         // These boundaries are done using 
"SwMailMergeOutputPage::documentStartPageNumber<number>" UNO bookmarks (see also
369         // SwMailMergeOutputPage::documentStartPageNumber() ).
370         executeMailMerge();
371         // Here getPages() works on the source document, so get pages of the resulting one.
    CID 1260437:  Unchecked dynamic_cast  (FORWARD_NULL)
    Assigning: "pTxtDoc" = "dynamic_cast <SwXTextDocument *>(this->mxMMComponent.get())".
372         SwXTextDocument* pTxtDoc = dynamic_cast<SwXTextDocument *>(mxMMComponent.get());
373         CPPUNIT_ASSERT(pTxtDoc);
374         CPPUNIT_ASSERT_EQUAL( sal_uInt16( 19 ), 
pTxtDoc->GetDocShell()->GetWrtShell()->GetPhyPageNum()); // 10 pages, but each sub-document starts 
on odd page number
375         for( int doc = 0;
376              doc < 10;
377              ++doc )

________________________________________________________________________________________________________
*** CID 1260438:  Unchecked dynamic_cast  (FORWARD_NULL)
/sw/qa/extras/mailmerge/mailmerge.cxx: 50 in MMTest::tearDown()()
44         virtual void tearDown() SAL_OVERRIDE
45         {
46             if (mxMMComponent.is())
47             {
48                 if (mnCurOutputType == text::MailMergeType::SHELL)
49                 {
    CID 1260438:  Unchecked dynamic_cast  (FORWARD_NULL)
    Assigning: "pTxtDoc" = "dynamic_cast <SwXTextDocument *>(this->mxMMComponent.get())".
50                     SwXTextDocument* pTxtDoc = 
dynamic_cast<SwXTextDocument*>(mxMMComponent.get());
51                     CPPUNIT_ASSERT(pTxtDoc);
52                     pTxtDoc->GetDocShell()->DoClose();
53                 }
54                 else
55                     mxMMComponent->dispose();

________________________________________________________________________________________________________
*** CID 1260439:  Explicit null dereferenced  (FORWARD_NULL)
/svtools/qa/unit/GraphicObjectTest.cxx: 165 in 
<unnamed>::GraphicObjectTest::testSizeBasedAutoSwap()()
159         SwDoc* pDoc = pTxtDoc->GetDocShell()->GetDoc();
160         CPPUNIT_ASSERT(pDoc);
161         SwNodes& aNodes = pDoc->GetNodes();
162     
163         // Find images
164         const GraphicObject* pGrafObj1 = 0;
    CID 1260439:  Explicit null dereferenced  (FORWARD_NULL)
    Assigning: "pGrafObj2" = "NULL".
165         const GraphicObject* pGrafObj2 = 0;
166         for( sal_uLong nIndex = 0; nIndex < aNodes.Count(); ++nIndex)
167         {
168             if( aNodes[nIndex]->IsGrfNode() )
169             {
170                 SwGrfNode* pGrfNode = aNodes[nIndex]->GetGrfNode();

________________________________________________________________________________________________________
*** CID 1260440:  Unchecked dynamic_cast  (FORWARD_NULL)
/sw/qa/extras/globalfilter/globalfilter.cxx: 155 in Test::testLinkedGraphicRT()()
149             aTempFile.EnableKillingFile();
150             xStorable->storeToURL(aTempFile.GetURL(), 
aMediaDescriptor.getAsConstPropertyValueList());
151             uno::Reference< lang::XComponent > xComponent(xStorable, uno::UNO_QUERY);
152             xComponent->dispose();
153             mxComponent = loadFromDesktop(aTempFile.GetURL(), "com.sun.star.text.TextDocument");
154     
    CID 1260440:  Unchecked dynamic_cast  (FORWARD_NULL)
    Assigning: "pTxtDoc" = "dynamic_cast <SwXTextDocument *>(this->mxComponent.get())".
155             SwXTextDocument* pTxtDoc = dynamic_cast<SwXTextDocument *>(mxComponent.get());
156             CPPUNIT_ASSERT_MESSAGE(sFailedMessage.getStr(), pTxtDoc);
157             SwDoc* pDoc = pTxtDoc->GetDocShell()->GetDoc();
158             CPPUNIT_ASSERT_MESSAGE(sFailedMessage.getStr(), pDoc);
159             SwNodes& aNodes = pDoc->GetNodes();
160     

________________________________________________________________________________________________________
*** CID 1260441:  Unchecked dynamic_cast  (FORWARD_NULL)
/sw/qa/extras/mailmerge/mailmerge.cxx: 386 in testPageBoundaries2Pages::verify()()
380         }
381     }
382     
383     DECLARE_SHELL_MAILMERGE_TEST(testPageBoundaries2Pages, "simple-mail-merge-2pages.odt", 
"10-testing-addresses.ods", "testing-addresses")
384     {
385         executeMailMerge();
    CID 1260441:  Unchecked dynamic_cast  (FORWARD_NULL)
    Assigning: "pTxtDoc" = "dynamic_cast <SwXTextDocument *>(this->mxMMComponent.get())".
386         SwXTextDocument* pTxtDoc = dynamic_cast<SwXTextDocument *>(mxMMComponent.get());
387         CPPUNIT_ASSERT(pTxtDoc);
388         CPPUNIT_ASSERT_EQUAL( sal_uInt16( 20 ), 
pTxtDoc->GetDocShell()->GetWrtShell()->GetPhyPageNum()); // 20 pages, each sub-document starts on 
odd page number
389         for( int doc = 0;
390              doc < 10;
391              ++doc )

________________________________________________________________________________________________________
*** CID 1260442:  Explicit null dereferenced  (FORWARD_NULL)
/svtools/qa/unit/GraphicObjectTest.cxx: 164 in 
<unnamed>::GraphicObjectTest::testSizeBasedAutoSwap()()
158         CPPUNIT_ASSERT(pTxtDoc);
159         SwDoc* pDoc = pTxtDoc->GetDocShell()->GetDoc();
160         CPPUNIT_ASSERT(pDoc);
161         SwNodes& aNodes = pDoc->GetNodes();
162     
163         // Find images
    CID 1260442:  Explicit null dereferenced  (FORWARD_NULL)
    Assigning: "pGrafObj1" = "NULL".
164         const GraphicObject* pGrafObj1 = 0;
165         const GraphicObject* pGrafObj2 = 0;
166         for( sal_uLong nIndex = 0; nIndex < aNodes.Count(); ++nIndex)
167         {
168             if( aNodes[nIndex]->IsGrfNode() )
169             {

________________________________________________________________________________________________________
*** CID 1260443:  Unchecked dynamic_cast  (FORWARD_NULL)
/sd/qa/unit/export-tests.cxx: 636 in SdExportTest::testLinkedGraphicRT()()
630     
631             // Check whether graphic imported well after export
632             SdDrawDocument *pDoc = xDocShRef->GetDoc();
633             CPPUNIT_ASSERT_MESSAGE( sFailedMessage.getStr(), pDoc != NULL );
634             const SdrPage *pPage = pDoc->GetPage(1);
635             CPPUNIT_ASSERT_MESSAGE( sFailedMessage.getStr(), pPage != NULL );
    CID 1260443:  Unchecked dynamic_cast  (FORWARD_NULL)
    Assigning: "pObject" = "dynamic_cast <SdrGrafObj *>(pPage->GetObj(2UL))".
636             SdrGrafObj* pObject = dynamic_cast<SdrGrafObj*>(pPage->GetObj(2));
637             CPPUNIT_ASSERT_MESSAGE( sFailedMessage.getStr(), pObject != NULL );
638             CPPUNIT_ASSERT_MESSAGE( sFailedMessage.getStr(), pObject->IsLinkedGraphic() );
639     
640             const GraphicObject& rGraphicObj = pObject->GetGraphicObject(true);
641             CPPUNIT_ASSERT_MESSAGE( sFailedMessage.getStr(), !rGraphicObj.IsSwappedOut());

________________________________________________________________________________________________________
*** CID 1260444:  Unchecked dynamic_cast  (FORWARD_NULL)
/svtools/qa/unit/GraphicObjectTest.cxx: 157 in 
<unnamed>::GraphicObjectTest::testSizeBasedAutoSwap()()
151             aBatch->commit();
152         }
153     
154         uno::Reference< lang::XComponent > xComponent =
155             loadFromDesktop(getURLFromSrc("svtools/qa/unit/data/document_with_two_images.odt"), 
"com.sun.star.text.TextDocument");
156     
    CID 1260444:  Unchecked dynamic_cast  (FORWARD_NULL)
    Assigning: "pTxtDoc" = "dynamic_cast <SwXTextDocument *>(xComponent.get())".
157         SwXTextDocument* pTxtDoc = dynamic_cast<SwXTextDocument *>(xComponent.get());
158         CPPUNIT_ASSERT(pTxtDoc);
159         SwDoc* pDoc = pTxtDoc->GetDocShell()->GetDoc();
160         CPPUNIT_ASSERT(pDoc);
161         SwNodes& aNodes = pDoc->GetNodes();
162     

________________________________________________________________________________________________________
*** CID 1260445:  Unchecked dynamic_cast  (FORWARD_NULL)
/sw/qa/extras/uiwriter/uiwriter.cxx: 660 in SwUiWriterTest::testMergeDoc()()
654     {
655         SwDoc* const pDoc1(createDoc("merge-change1.odt"));
656     
657         auto xDoc2Component(loadFromDesktop(
658                 getURLFromSrc(DATA_DIRECTORY) + "merge-change2.odt",
659                 "com.sun.star.text.TextDocument"));
    CID 1260445:  Unchecked dynamic_cast  (FORWARD_NULL)
    Assigning: "pxDoc2Document" = "dynamic_cast <SwXTextDocument *>(xDoc2Component.get())".
660         auto pxDoc2Document(
661                 dynamic_cast<SwXTextDocument *>(xDoc2Component.get()));
662         CPPUNIT_ASSERT(pxDoc2Document);
663         SwDoc* const pDoc2(pxDoc2Document->GetDocShell()->GetDoc());
664     
665         SwEditShell* const pEditShell(pDoc1->GetEditShell());

________________________________________________________________________________________________________
*** CID 1260446:  Uninitialized scalar field  (UNINIT_CTOR)
/sc/source/core/tool/scmatrix.cxx: 1913 in 
wrapped_iterator<mdds::mtv::default_element_block<(int)8, bool>, 
<unnamed>::SubOp>::wrapped_iterator(std::_Bit_const_iterator, <unnamed>::SubOp)()
1907     public:
1908     
1909         wrapped_iterator(typename T::const_iterator it_, U aOp):
1910             it(it_),
1911             maOp(aOp)
1912         {
    CID 1260446:  Uninitialized scalar field  (UNINIT_CTOR)
    Non-static class member "val" is not initialized in this constructor nor in any functions 
that it calls.
1913         }
1914     
1915         wrapped_iterator(const wrapped_iterator& r):
1916             it(r.it),
1917             val(r.val),
1918             maOp(r.maOp)
/sc/source/core/tool/scmatrix.cxx: 1913 in 
wrapped_iterator<mdds::mtv::default_element_block<(int)8, bool>, 
<unnamed>::AddOp>::wrapped_iterator(std::_Bit_const_iterator, <unnamed>::AddOp)()
1907     public:
1908     
1909         wrapped_iterator(typename T::const_iterator it_, U aOp):
1910             it(it_),
1911             maOp(aOp)
1912         {
    CID 1260446:  Uninitialized scalar field  (UNINIT_CTOR)
    Non-static class member "val" is not initialized in this constructor nor in any functions 
that it calls.
1913         }
1914     
1915         wrapped_iterator(const wrapped_iterator& r):
1916             it(r.it),
1917             val(r.val),
1918             maOp(r.maOp)

________________________________________________________________________________________________________
*** CID 1260447:  Uninitialized scalar field  (UNINIT_CTOR)
/sc/source/core/tool/scmatrix.cxx: 1913 in 
wrapped_iterator<mdds::mtv::default_element_block<(int)0, double>, 
<unnamed>::AddOp>::wrapped_iterator(__gnu_cxx::__normal_iterator<const double *, 
std::vector<double, std::allocator<double>>>, <unnamed>::AddOp)()
1907     public:
1908     
1909         wrapped_iterator(typename T::const_iterator it_, U aOp):
1910             it(it_),
1911             maOp(aOp)
1912         {
    CID 1260447:  Uninitialized scalar field  (UNINIT_CTOR)
    Non-static class member "val" is not initialized in this constructor nor in any functions 
that it calls.
1913         }
1914     
1915         wrapped_iterator(const wrapped_iterator& r):
1916             it(r.it),
1917             val(r.val),
1918             maOp(r.maOp)
/sc/source/core/tool/scmatrix.cxx: 1913 in 
wrapped_iterator<mdds::mtv::default_element_block<(int)0, double>, 
<unnamed>::SubOp>::wrapped_iterator(__gnu_cxx::__normal_iterator<const double *, 
std::vector<double, std::allocator<double>>>, <unnamed>::SubOp)()
1907     public:
1908     
1909         wrapped_iterator(typename T::const_iterator it_, U aOp):
1910             it(it_),
1911             maOp(aOp)
1912         {
    CID 1260447:  Uninitialized scalar field  (UNINIT_CTOR)
    Non-static class member "val" is not initialized in this constructor nor in any functions 
that it calls.
1913         }
1914     
1915         wrapped_iterator(const wrapped_iterator& r):
1916             it(r.it),
1917             val(r.val),
1918             maOp(r.maOp)

________________________________________________________________________________________________________
*** CID 1260448:  Uninitialized scalar field  (UNINIT_CTOR)
/sc/qa/unit/filters-test.cxx: 770 in ScFiltersTest::ScFiltersTest()()
764     }
765     
766     
767     ScFiltersTest::ScFiltersTest()
768           : ScBootstrapFixture( "/sc/qa/unit/data" )
769     {
    CID 1260448:  Uninitialized scalar field  (UNINIT_CTOR)
    Non-static class member "mbUpdateReferenceOnSort" is not initialized in this constructor 
nor in any functions that it calls.
770     }
771     
772     void ScFiltersTest::setUp()
773     {
774         test::BootstrapFixture::setUp();
775     


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

To manage Coverity Scan email notifications for "libreoffice@lists.freedesktop.org", click 
http://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.