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.
13 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 1470396: Null pointer dereferences (FORWARD_NULL)
/sc/source/core/data/drwlayer.cxx: 942 in
ScDrawLayer::InitializeCellAnchoredObj(SdrObject *, ScDrawObjData &)()
________________________________________________________________________________________________________
*** CID 1470396: Null pointer dereferences (FORWARD_NULL)
/sc/source/core/data/drwlayer.cxx: 942 in
ScDrawLayer::InitializeCellAnchoredObj(SdrObject *, ScDrawObjData &)()
936 // anchor from start and end point.
937 SdrMeasureObj* pMeasureObj =
dynamic_cast<SdrMeasureObj*>(pObj);
938 // tdf#137576. The logic rectangle has likely no current
values here, but only the
939 // 1cm x 1cm default size. The call of
TakeUnrotatedSnapRect is currently (LO 7.2)
940 // the only way to force a recalc of the logic rectangle.
941 tools::Rectangle aObjRect;
>>> CID 1470396: Null pointer dereferences (FORWARD_NULL)
>>> Passing null pointer "pMeasureObj" to "TakeUnrotatedSnapRect", which
>>> dereferences it. (The dereference happens because this is a virtual
>>> function call.)
942 pMeasureObj->TakeUnrotatedSnapRect(aObjRect);
943 GetCellAnchorFromPosition(aObjRect, rNoRotatedAnchor,
*pDoc, rData.maStart.Tab(),
944 false /*bHiddenAsZero*/);
945 }
946 else
947 {
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DBV7D_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJikbejnUuzpwbnch-2FWhF47anTj5jsBOy-2FVE3DyInnO8Sc-2F4zhrxaV8qAob-2BjmnzyBoHslRUkEhMzpr775PibjCXo9fyUWnZ6-2B-2Bl-2FixyPGGN3-2FFqZS-2FJrgmYd0S8VAfMnPV7jRTJV1k8rNUtnwm65Y-2FJOiyqa9fGGLFKYLEhgEw8Y9QR6kCNndcsDw2w8pWRv9o
_______________________________________________
LibreOffice mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice