New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sat Oct 22 16:53:34 UTC 2022


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.
1 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 1516141:  Null pointer dereferences  (FORWARD_NULL)


________________________________________________________________________________________________________
*** CID 1516141:  Null pointer dereferences  (FORWARD_NULL)
/sw/source/core/layout/paintfrm.cxx: 4293 in SwFlyFrame::PaintSwFrame(OutputDevice &, const SwRect &, const SwPrintData *) const()
4287     
4288         SwLayoutFrame::PaintSwFrame( rRenderContext, aRect );
4289     
4290         Validate();
4291     
4292         {
>>>     CID 1516141:  Null pointer dereferences  (FORWARD_NULL)
>>>     Passing null pointer "pShell" to "GetOut", which dereferences it.
4293             SwTaggedPDFHelper tag(nullptr, nullptr, nullptr, *pShell->GetOut());
4294             // first paint lines added by fly frame paint
4295             // and then unlock other lines.
4296             gProp.pSLines->PaintLines( &rRenderContext, gProp );
4297             gProp.pSLines->LockLines( false );
4298             // have to paint frame borders added in heaven layer here...


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DrmUn_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJixVa1RlSFoO8Iq91OVlXhYkvpRjrn6ry8TbszrW82-2BGDTMcGDksUJyKOoLWZ2MtDvt3DfkuMjUotpT3Igngyt15Q-2BO45Z-2BS6jCx8FMTEbyiP2b3U9YhWDeenYzSo8YaQFgafrd0N62pwMJTNkYtcd3g3LUnwgcbUdFZtVTu9KqDE-3D



More information about the LibreOffice mailing list