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 1491055:  Null pointer dereferences  (FORWARD_NULL)


________________________________________________________________________________________________________
*** CID 1491055:  Null pointer dereferences  (FORWARD_NULL)
/sc/source/core/tool/sharedformula.cxx: 397 in sc::SharedFormulaUtil::startListeningAsGroup(sc::StartListeningContext &, ScFormulaCell **)()
391         ScDocument& rDoc = rCxt.getDoc();
392         rDoc.SetDetectiveDirty(true);
393     
394         ScFormulaCellGroupRef xGroup = rTopCell.GetCellGroup();
395         const ScTokenArray* pCode = xGroup->mpCode ? &*xGroup->mpCode : nullptr;
396         assert(pCode == rTopCell.GetCode());
>>>     CID 1491055:  Null pointer dereferences  (FORWARD_NULL)
>>>     Passing null pointer "pCode" to "IsRecalcModeAlways", which dereferences it.
397         if (pCode->IsRecalcModeAlways())
398         {
399             rDoc.StartListeningArea(
400                 BCA_LISTEN_ALWAYS, false,
401                 xGroup->getAreaListener(ppSharedTop, BCA_LISTEN_ALWAYS, true, true));
402         }


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DLpm7_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJi66xvYucuMo-2F-2Fb-2BKii0ofqoRVqb6poMJ9Gjx6zTrrRVtcuW2T14qS2Dn-2BPTIOiLXqcsHztgWQdEj4gAS6e6g-2BHmpll8-2FmzvG2J7ZP7Gc6J6r3SOiMV-2FiXUQmTwZcpptZ4u7k21Xb643km-2FKQSnFe7wxvBj0EOIZfip-2BZ110I-2Brpc-3D




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

  Powered by Linux