Hi, Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan. 2 new defect(s) introduced to LibreOffice found with Coverity Scan. 4 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 2 of 2 defect(s) ** CID 1484905: Null pointer dereferences (REVERSE_INULL) /vcl/source/gdi/gdimtf.cxx: 395 in GDIMetaFile::ImplPlayWithRenderer(OutputDevice *, const Point &, Size)() ________________________________________________________________________________________________________ *** CID 1484905: Null pointer dereferences (REVERSE_INULL) /vcl/source/gdi/gdimtf.cxx: 395 in GDIMetaFile::ImplPlayWithRenderer(OutputDevice *, const Point &, Size)() 389 { 390 if (!m_bUseCanvas) 391 return false; 392 393 Size rDestSize( pOut->LogicToPixel( rLogicDestSize ) ); 394 >>> CID 1484905: Null pointer dereferences (REVERSE_INULL) >>> Null-checking "pOut" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 395 const vcl::Window* win = pOut ? pOut->GetOwnerWindow() : nullptr; 396 397 if (!win) 398 win = Application::GetActiveTopWindow(); 399 if (!win) 400 win = Application::GetFirstTopLevelWindow(); ** CID 1484904: Null pointer dereferences (FORWARD_NULL) ________________________________________________________________________________________________________ *** CID 1484904: Null pointer dereferences (FORWARD_NULL) /vcl/source/edit/texteng.cxx: 1926 in TextEngine::ImpPaint(OutputDevice *, const Point &, const tools::Rectangle *, const TextSelection *)() 1920 { 1921 OSL_ENSURE(pPortion->GetTextPortions().size(), 1922 "ImpPaint: Line without Textportion!"); 1923 TETextPortion* pTextPortion = pPortion->GetTextPortions()[ y ]; 1924 SAL_WARN_IF( !pTextPortion, "vcl", "ImpPaint: Bad pTextPortion!" ); 1925 >>> CID 1484904: Null pointer dereferences (FORWARD_NULL) >>> Passing null pointer "pOutDev" to "ImpInitLayoutMode", which dereferences it. 1926 ImpInitLayoutMode( pOutDev /*, pTextPortion->IsRightToLeft() */); 1927 1928 const tools::Long nTxtWidth = pTextPortion->GetWidth(); 1929 aTmpPos.setX( rStartPos.X() + ImpGetOutputOffset( nPara, &rLine, nIndex, nIndex ) ); 1930 1931 // only print if starting in the visible region ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3D2mSt_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiQw-2Fy9CCr9KLUR-2F8Zc7YciNXi8bFb71AU86a-2FRdUWWOitiEuuLtd6nzk0x7LEgVDSb8lMpsLsOdoRfiTiHaJSWFGtFaqyhEgS-2FvQk7FUVq1kpqDgLQkO8jzynyf2691yG2UIDN4vy2RooFTudQwcRc7qGO8V0xNWS8vxIM1YwdMk-3D _______________________________________________ LibreOffice mailing list LibreOffice@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/libreoffice