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.
5 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 1696586: Null pointer dereferences (FORWARD_NULL)
/sc/source/core/tool/interpr1.cxx: 10714 in
ScInterpreter::GetMacroArg(boost::intrusive_ptr<const formula::FormulaToken>,
SbxVariable *, bool)()
_____________________________________________________________________________________________
*** CID 1696586: Null pointer dereferences (FORWARD_NULL)
/sc/source/core/tool/interpr1.cxx: 10714 in
ScInterpreter::GetMacroArg(boost::intrusive_ptr<const formula::FormulaToken>,
SbxVariable *, bool)()
10708 if (nGlobalError != FormulaError::NONE)
10709 return false;
10710
10711 // For now, we only support single range data for external
10712 // references, which means the array should only contain a
10713 // single matrix token.
>>> CID 1696586: Null pointer dereferences (FORWARD_NULL)
>>> Attempting to access the managed object of an empty smart pointer
>>> "pArray".
10714 FormulaToken* pFirst = pArray->FirstToken();
10715 if (!pFirst || pFirst->GetType() != svMatrix)
10716 {
10717 SetError( FormulaError::IllegalParameter);
10718 return false;
10719 }
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://scan.coverity.com/projects/libreoffice?tab=overview