New Defects reported by Coverity Scan for LibreOffice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


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


** CID 1515941:  Null pointer dereferences  (NULL_RETURNS)


________________________________________________________________________________________________________
*** CID 1515941:  Null pointer dereferences  (NULL_RETURNS)
/sw/source/filter/ww8/docxattributeoutput.cxx: 2473 in DocxAttributeOutput::WriteContentControlStart()()
2467         const OUString& rXpath = m_pContentControl->GetDataBindingXpath();
2468         if (!rXpath.isEmpty())
2469         {
2470             // This content control has a data binding, update the data source.
2471             SwTextContentControl* pTextAttr = m_pContentControl->GetTextAttr();
2472             SwTextNode* pTextNode = m_pContentControl->GetTextNode();
>>>     CID 1515941:  Null pointer dereferences  (NULL_RETURNS)
>>>     Dereferencing a pointer that might be "nullptr" "pTextAttr" when calling "GetStart".
2473             SwPosition aPoint(*pTextNode, pTextAttr->GetStart());
2474             SwPosition aMark(*pTextNode, *pTextAttr->GetEnd());
2475             SwPaM aPam(aMark, aPoint);
2476             OUString aSnippet = aPam.GetText();
2477             static sal_Unicode const aForbidden[] = {
2478                 CH_TXTATR_BREAKWORD,


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DC9cT_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJitcZVeRuYkDfE0Zx0b2QLFdTyGUeB95ZYGU2apYdWN7i6yYkgwtwE7tq7yrRzK60SWFfLJ1ZjL-2Fp7fz9AsqjHKqLrfFS5L4YzNAtE-2B-2BfrPPqSbF-2F3Ep7DR9hD6lyofHBGSjs-2B1KMdAhUwcIfkXZ-2BPrIFFN2v-2Foc8WPjg63uPLyRs-3D




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux