New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Sat Jan 9 22:38:45 UTC 2021
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.
297 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 2 of 2 defect(s)
** CID 1471720: Null pointer dereferences (FORWARD_NULL)
________________________________________________________________________________________________________
*** CID 1471720: Null pointer dereferences (FORWARD_NULL)
/sw/source/core/undo/untblk.cxx: 427 in SwUndoInserts::RedoImpl(sw::UndoRedoContext &)()
421 }
422
423 if (rDoc.GetTextFormatColls()->IsAlive(m_pTextFormatColl))
424 {
425 SwTextNode* pTextNd = rPam.GetMark()->nNode.GetNode().GetTextNode();
426 if( pTextNd )
>>> CID 1471720: Null pointer dereferences (FORWARD_NULL)
>>> Passing null pointer "this->m_pTextFormatColl" to "ChgFormatColl", which dereferences it.
427 pTextNd->ChgFormatColl( m_pTextFormatColl );
428 }
429 m_pTextFormatColl = pSavTextFormatColl;
430
431 if (m_pLastNodeColl && rDoc.GetTextFormatColls()->IsAlive(m_pLastNodeColl)
432 && rPam.GetPoint()->nNode != rPam.GetMark()->nNode)
** CID 1471719: Parse warnings (PARSE_ERROR)
/sd/source/ui/unoidl/unopage.cxx: 105 in ()
________________________________________________________________________________________________________
*** CID 1471719: Parse warnings (PARSE_ERROR)
/sd/source/ui/unoidl/unopage.cxx: 105 in ()
99 WID_TRANSITION_DIRECTION, WID_TRANSITION_FADE_COLOR, WID_TRANSITION_DURATION, WID_LOOP_SOUND,
100 WID_NAVORDER, WID_PAGE_PREVIEWMETAFILE
101 };
102
103 }
104
>>> CID 1471719: Parse warnings (PARSE_ERROR)
>>> class template name must be a placeholder for the complete type being initialized (not for a component of that type)
105 OUStringLiteral const sEmptyPageName = u"page";
106
107 // this function stores the property maps for draw pages in impress and draw
108 static const SvxItemPropertySet* ImplGetDrawPagePropertySet( bool bImpress, PageKind ePageKind )
109 {
110 static const SfxItemPropertyMapEntry aDrawPagePropertyMap_Impl[] =
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DSEIt_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiIgU-2FYO3drlK68cbdjI0h1Y-2Blb-2FZwltZ7qbtctziD6W8cQfi7S990cyr0A-2FXXQ1u0rdBceHuwP2mhZOrGB-2BO5u-2BNfv9tzIgQ-2Bktr1Bm6-2BRHlGTbD-2FfihwEQx7JMo57jV6ua1ZGZ7XhSjqAQFyWgLFXJck51d3MCD40pKO3rkLYsxuIGASM2hTjxhDEpi6QoUQ
More information about the LibreOffice
mailing list