New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Fri Aug 11 09:31:29 UTC 2023


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.


New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)


** CID 1539807:  Uninitialized members  (UNINIT_CTOR)
/svgio/source/svgreader/svgcharacternode.cxx: 83 in svgio::svgreader::SvgCharacterNode::SvgCharacterNode(svgio::svgreader::SvgDocument &, svgio::svgreader::SvgNode *, rtl::OUString)()


________________________________________________________________________________________________________
*** CID 1539807:  Uninitialized members  (UNINIT_CTOR)
/svgio/source/svgreader/svgcharacternode.cxx: 83 in svgio::svgreader::SvgCharacterNode::SvgCharacterNode(svgio::svgreader::SvgDocument &, svgio::svgreader::SvgNode *, rtl::OUString)()
77                 SvgDocument& rDocument,
78                 SvgNode* pParent,
79                 OUString aText)
80             :   SvgNode(SVGToken::Character, rDocument, pParent),
81                 maText(std::move(aText))
82             {
>>>     CID 1539807:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "mpTextParent" is not initialized in this constructor nor in any functions that it calls.
83             }
84     
85             SvgCharacterNode::~SvgCharacterNode()
86             {
87             }
88     

** CID 1539806:  Null pointer dereferences  (FORWARD_NULL)


________________________________________________________________________________________________________
*** CID 1539806:  Null pointer dereferences  (FORWARD_NULL)
/sc/source/ui/undo/undoblk.cxx: 1155 in ScUndoPaste::DoChange(bool)()
1149     
1150         pDocShell->PostDataChanged();
1151         if (pViewShell)
1152             pViewShell->CellContentChanged();
1153     
1154         if (bColsAffected || bRowsAffected)
>>>     CID 1539806:  Null pointer dereferences  (FORWARD_NULL)
>>>     Passing null pointer "pViewShell" to "notifyAllViewsSheetGeomInvalidation", which dereferences it.
1155             ScTabViewShell::notifyAllViewsSheetGeomInvalidation(
1156                 pViewShell,
1157                 bColsAffected, bRowsAffected,
1158                 true /* bSizes*/, true /* bHidden */, true /* bFiltered */,
1159                 true /* bGroups */, aDrawRanges[0].aStart.Tab());
1160     }


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DHfVY_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiLDLGUIpEQkM88gBNH9yTVUiq-2FYuw67tQbk-2FTvx5sCdR9clnYJTdhPS5ZSQlXObvoAo9Vj1FgT-2BtNJmoJ09swDrQsdDohorv021mRS-2F-2Bigw5PKVgb5xHewe9IghkI76rTusw5MDqLqDCq4bJk2BDpKYHxGl-2B2ulzndROsqSYn-2FGs-3D



More information about the LibreOffice mailing list