New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Mon Jul 13 05:24:11 UTC 2020


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.
8 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 1465274:  Null pointer dereferences  (REVERSE_INULL)
/sc/source/ui/view/gridwin4.cxx: 1288 in <unnamed>::ScLOKDrawView::ScLOKDrawView(OutputDevice *, ScViewData *)()


________________________________________________________________________________________________________
*** CID 1465274:  Null pointer dereferences  (REVERSE_INULL)
/sc/source/ui/view/gridwin4.cxx: 1288 in <unnamed>::ScLOKDrawView::ScLOKDrawView(OutputDevice *, ScViewData *)()
1282     
1283         class ScLOKDrawView : public FmFormView
1284         {
1285         public:
1286             ScLOKDrawView(OutputDevice* pOut, ScViewData* pData) :
1287                 FmFormView(*pData->GetDocument()->GetDrawLayer(), pOut),
>>>     CID 1465274:  Null pointer dereferences  (REVERSE_INULL)
>>>     Null-checking "pData" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
1288                 pScDrawView(pData ? pData->GetScDrawView() : nullptr)
1289             {
1290             }
1291     
1292             virtual sdr::contact::ObjectContact* createViewSpecificObjectContact(
1293                     SdrPageWindow& rPageWindow, const sal_Char* pDebugName) const override


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DwbSe_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJik7oR5c12ZsGmQ-2BaI7lqDly-2FV6KbvXaVS3bLctYBJ8POlLiOFRsCtXoT2shlb9XPcgIwBggi-2FKSm3nNoLPoBZ0xEocxnDgsKKLKMwkItkQaLV4bPxFheDJWA-2B9V2X1Nl8MrSEnPuHPh-2B4-2BaxCbmtLsdvXt4isO-2FstzfIQ9b4L8HLYvG65scC9j4LE-2FK-2BmnoGo



More information about the LibreOffice mailing list