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


Hi,

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

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


** CID 1438139:  Uninitialized members  (UNINIT_CTOR)
/sc/source/filter/xml/xmltransformationi.cxx: 289 in 
ScXMLColumnTextContext::ScXMLColumnTextContext(ScXMLImport &, const 
rtl::Reference<sax_fastparser::FastAttributeList> &)()


________________________________________________________________________________________________________
*** CID 1438139:  Uninitialized members  (UNINIT_CTOR)
/sc/source/filter/xml/xmltransformationi.cxx: 289 in 
ScXMLColumnTextContext::ScXMLColumnTextContext(ScXMLImport &, const 
rtl::Reference<sax_fastparser::FastAttributeList> &)()
283                 maType = sc::TEXT_TRANSFORM_TYPE::TO_UPPER;
284             else if (aType == "capitalize")
285                 maType = sc::TEXT_TRANSFORM_TYPE::CAPITALIZE;
286             else if (aType == "trim")
287                 maType = sc::TEXT_TRANSFORM_TYPE::TRIM;
288         }
    CID 1438139:  Uninitialized members  (UNINIT_CTOR)
    Non-static class member "maType" is not initialized in this constructor nor in any 
functions that it calls.
289     }
290     
291     ScXMLColumnTextContext::~ScXMLColumnTextContext()
292     {
293         ScDocument* pDoc = GetScImport().GetDocument();
294         auto& rDataSources = pDoc->GetExternalDataMapper().getDataSources();

** CID 1438138:  Uninitialized members  (UNINIT_CTOR)
/sc/source/filter/xml/xmltransformationi.cxx: 367 in 
ScXMLColumnAggregateContext::ScXMLColumnAggregateContext(ScXMLImport &, const 
rtl::Reference<sax_fastparser::FastAttributeList> &)()


________________________________________________________________________________________________________
*** CID 1438138:  Uninitialized members  (UNINIT_CTOR)
/sc/source/filter/xml/xmltransformationi.cxx: 367 in 
ScXMLColumnAggregateContext::ScXMLColumnAggregateContext(ScXMLImport &, const 
rtl::Reference<sax_fastparser::FastAttributeList> &)()
361                 maType = sc::AGGREGATE_FUNCTION::AVERAGE;
362             else if (aType == "min")
363                 maType = sc::AGGREGATE_FUNCTION::MIN;
364             else if (aType == "max")
365                 maType = sc::AGGREGATE_FUNCTION::MAX;
366         }
    CID 1438138:  Uninitialized members  (UNINIT_CTOR)
    Non-static class member "maType" is not initialized in this constructor nor in any 
functions that it calls.
367     }
368     
369     ScXMLColumnAggregateContext::~ScXMLColumnAggregateContext()
370     {
371         ScDocument* pDoc = GetScImport().GetDocument();
372         auto& rDataSources = pDoc->GetExternalDataMapper().getDataSources();

** CID 1438137:    (UNINIT_CTOR)
/sc/source/filter/xml/xmltransformationi.cxx: 465 in 
ScXMLColumnNumberContext::ScXMLColumnNumberContext(ScXMLImport &, const 
rtl::Reference<sax_fastparser::FastAttributeList> &)()
/sc/source/filter/xml/xmltransformationi.cxx: 465 in 
ScXMLColumnNumberContext::ScXMLColumnNumberContext(ScXMLImport &, const 
rtl::Reference<sax_fastparser::FastAttributeList> &)()


________________________________________________________________________________________________________
*** CID 1438137:    (UNINIT_CTOR)
/sc/source/filter/xml/xmltransformationi.cxx: 465 in 
ScXMLColumnNumberContext::ScXMLColumnNumberContext(ScXMLImport &, const 
rtl::Reference<sax_fastparser::FastAttributeList> &)()
459                 maType = sc::NUMBER_TRANSFORM_TYPE::IS_EVEN;
460             else if (aType == "odd")
461                 maType = sc::NUMBER_TRANSFORM_TYPE::IS_ODD;
462             else if (aType == "sign")
463                 maType = sc::NUMBER_TRANSFORM_TYPE::SIGN;
464         }
    CID 1438137:    (UNINIT_CTOR)
    Non-static class member "maPrecision" is not initialized in this constructor nor in any 
functions that it calls.
465     }
466     
467     ScXMLColumnNumberContext::~ScXMLColumnNumberContext()
468     {
469         ScDocument* pDoc = GetScImport().GetDocument();
470         auto& rDataSources = pDoc->GetExternalDataMapper().getDataSources();
/sc/source/filter/xml/xmltransformationi.cxx: 465 in 
ScXMLColumnNumberContext::ScXMLColumnNumberContext(ScXMLImport &, const 
rtl::Reference<sax_fastparser::FastAttributeList> &)()
459                 maType = sc::NUMBER_TRANSFORM_TYPE::IS_EVEN;
460             else if (aType == "odd")
461                 maType = sc::NUMBER_TRANSFORM_TYPE::IS_ODD;
462             else if (aType == "sign")
463                 maType = sc::NUMBER_TRANSFORM_TYPE::SIGN;
464         }
    CID 1438137:    (UNINIT_CTOR)
    Non-static class member "maPrecision" is not initialized in this constructor nor in any 
functions that it calls.
465     }
466     
467     ScXMLColumnNumberContext::~ScXMLColumnNumberContext()
468     {
469         ScDocument* pDoc = GetScImport().GetDocument();
470         auto& rDataSources = pDoc->GetExternalDataMapper().getDataSources();


________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyEFvJX4mzlHAjiDuZPebwo6JLrchP3Tz0OIwuX43No2arvVZnmdU9IqR-2FVwI-2FFQqSZisaXeKJgaTkAzQfhk9EYQqZesswdftbTD1Sj-2B1Nm8xyXNKXh-2BOZT9yBzy0OJHiGP5Zl8NWz6xwDCCdYxTEQqEqIvQlzYE4HOgb0Z9VXbl0-3D


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.