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.
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 1 of 1 defect(s)


** CID 1530046:    (FORWARD_NULL)
/sd/source/ui/view/drviewsk.cxx: 33 in sd::DrawViewShell::ConfigurationChanged(utl::ConfigurationBroadcaster *, ConfigurationHints)()
/sd/source/ui/view/drviewsk.cxx: 33 in sd::DrawViewShell::ConfigurationChanged(utl::ConfigurationBroadcaster *, ConfigurationHints)()


________________________________________________________________________________________________________
*** CID 1530046:    (FORWARD_NULL)
/sd/source/ui/view/drviewsk.cxx: 33 in sd::DrawViewShell::ConfigurationChanged(utl::ConfigurationBroadcaster *, ConfigurationHints)()
27         if (comphelper::LibreOfficeKit::isActive() && pCurrentShell)
28         {
29             DrawViewShell* pCurrentDrawShell = nullptr;
30             ViewShellBase* pShellBase = dynamic_cast<ViewShellBase*>(pCurrentShell);
31             if(pShellBase)
32                 pCurrentDrawShell = dynamic_cast<DrawViewShell*>(pShellBase->GetMainViewShell().get());
>>>     CID 1530046:    (FORWARD_NULL)
>>>     Dereferencing null pointer "pCurrentDrawShell".
33             pCurrentDrawShell->maViewOptions.mnDocBackgroundColor = pColorConfig->GetColorValue(svtools::DOCCOLOR).nColor;
34             pCurrentDrawShell->maViewOptions.msColorSchemeName = pColorConfig->GetCurrentSchemeName();
35             SdXImpressDocument* pDoc = comphelper::getFromUnoTunnel<SdXImpressDocument>(pCurrentShell->GetCurrentDocument());
36             SfxLokHelper::notifyViewRenderState(pCurrentShell, pDoc);
37             Color aFillColor(pColorConfig->GetColorValue(svtools::APPBACKGROUND).nColor);
38             SfxViewShell::Current()->libreOfficeKitViewCallback(LOK_CALLBACK_APPLICATION_BACKGROUND_COLOR,
/sd/source/ui/view/drviewsk.cxx: 33 in sd::DrawViewShell::ConfigurationChanged(utl::ConfigurationBroadcaster *, ConfigurationHints)()
27         if (comphelper::LibreOfficeKit::isActive() && pCurrentShell)
28         {
29             DrawViewShell* pCurrentDrawShell = nullptr;
30             ViewShellBase* pShellBase = dynamic_cast<ViewShellBase*>(pCurrentShell);
31             if(pShellBase)
32                 pCurrentDrawShell = dynamic_cast<DrawViewShell*>(pShellBase->GetMainViewShell().get());
>>>     CID 1530046:    (FORWARD_NULL)
>>>     Dereferencing null pointer "pCurrentDrawShell".
33             pCurrentDrawShell->maViewOptions.mnDocBackgroundColor = pColorConfig->GetColorValue(svtools::DOCCOLOR).nColor;
34             pCurrentDrawShell->maViewOptions.msColorSchemeName = pColorConfig->GetCurrentSchemeName();
35             SdXImpressDocument* pDoc = comphelper::getFromUnoTunnel<SdXImpressDocument>(pCurrentShell->GetCurrentDocument());
36             SfxLokHelper::notifyViewRenderState(pCurrentShell, pDoc);
37             Color aFillColor(pColorConfig->GetColorValue(svtools::APPBACKGROUND).nColor);
38             SfxViewShell::Current()->libreOfficeKitViewCallback(LOK_CALLBACK_APPLICATION_BACKGROUND_COLOR,


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DTJn7_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJibMfcE8MdZHdSbs2fCzUeNvC3oVy5sW8Jn7snXg7mGF1zP3dV3ai1a8diwmenO-2Bdu6zAINQA5Cp73ORG8pwLkkoCwL5wUERTMDDnbkSwiuzmftgLGDpgGwk7zdp6Zzg1ZE3Mxe-2BV4IBitSoFM-2F0njJWY5pL-2BJqiQ2jhior-2B-2Bw3mk-3D




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

  Powered by Linux