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.

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


** CID 1523394:  Null pointer dereferences  (FORWARD_NULL)
/sw/source/ui/chrdlg/drpcps.cxx: 245 in SwDropCapsPict::UpdatePaintSettings()()


________________________________________________________________________________________________________
*** CID 1523394:  Null pointer dereferences  (FORWARD_NULL)
/sw/source/ui/chrdlg/drpcps.cxx: 245 in SwDropCapsPict::UpdatePaintSettings()()
239         maCTLFont.SetFontSize(Size(0, mnTextH));
240     
241         aFont.SetTransparent(true);
242         maCJKFont.SetTransparent(true);
243         maCTLFont.SetTransparent(true);
244     
>>>     CID 1523394:  Null pointer dereferences  (FORWARD_NULL)
>>>     Dereferencing null pointer "this->mpPage".
245         const Color& rFontColor = mpPage->m_rSh.GetViewOptions()->GetFontColor();
246     
247         aFont.SetColor( rFontColor );
248         maCJKFont.SetColor( rFontColor );
249         maCTLFont.SetColor( rFontColor );
250     

** CID 1523393:  Uninitialized members  (UNINIT_CTOR)
/sw/source/uibase/config/viewopt.cxx: 70 in SwViewColors::SwViewColors()()


________________________________________________________________________________________________________
*** CID 1523393:  Uninitialized members  (UNINIT_CTOR)
/sw/source/uibase/config/viewopt.cxx: 70 in SwViewColors::SwViewColors()()
64         m_aFieldShadingsColor(COL_LIGHTGRAY),
65         m_aSectionBoundColor(COL_LIGHTGRAY),
66         m_aPageBreakColor(COL_BLUE),
67         m_aScriptIndicatorColor(COL_GREEN),
68         m_aShadowColor(COL_GRAY),
69         m_aHeaderFooterMarkColor(COL_BLUE)
>>>     CID 1523393:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "m_nAppearanceFlags" is not initialized in this constructor nor in any functions that it calls.
70     {}
71     
72     SwViewColors::SwViewColors(const svtools::ColorConfig& rConfig)
73     {
74         m_aDocColor = rConfig.GetColorValue(svtools::DOCCOLOR).nColor;
75     


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3Dsy_e_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiw3yHJo-2F5EeZNYD4sldobq9W37Cgu9PNFUn8gxH9XjjkttF4F3UCY-2B8DG67yROJ5Yy7AgF7EgYbHCscpxU-2F38AfwiURYzGV7wf1h7JtMCTNvIKbro4QoEUpEsyf6HhRZPJ-2BuGolVPTxlhQRepKCy1ZrRnYktoQW2M6w9a7X1Uncg-3D




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

  Powered by Linux