New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Mon Apr 4 06:48:45 UTC 2022
Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
1 new defect(s) introduced to LibreOffice found with Coverity Scan.
4 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 1 of 1 defect(s)
** CID 1503776: Null pointer dereferences (FORWARD_NULL)
________________________________________________________________________________________________________
*** CID 1503776: Null pointer dereferences (FORWARD_NULL)
/sw/source/core/doc/doctxm.cxx: 950 in SwTOXBaseSection::Update(const SfxItemSet *, const SwRootFrame *, bool)()
944 const_cast<SwSectionNode*>(pSectNd)->DelFrames();
945
946 // This would be a good time to update the Numbering
947 rDoc.UpdateNumRule();
948
949 if( GetCreateType() & SwTOXElement::Mark )
>>> CID 1503776: Null pointer dereferences (FORWARD_NULL)
>>> Passing null pointer "pOwnChapterNode" to "UpdateMarks", which dereferences it.
950 UpdateMarks( aIntl, pOwnChapterNode, pLayout );
951
952 if( GetCreateType() & SwTOXElement::OutlineLevel )
953 UpdateOutline( pOwnChapterNode, pLayout );
954
955 if( GetCreateType() & SwTOXElement::Template )
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DdMpA_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJi0ZQgbs0gB9SLdoJTGYbzKUhXkVBARAt2g81Sgh5yeqTwdcqyLp7nb43tn0o-2Fsa31GnkDTMyXYY3mObPIKaLJw7YuDvVwUMNHlXbTIKof7izda6ouN3duLZcuFOl11Lbo3HZx-2Fpwu2cjEw6yarnqkqLanY27Po-2BHia8iKmipHRqk-3D
More information about the LibreOffice
mailing list