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.
3 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 1680327:       Uninitialized members  (UNINIT_CTOR)
/vcl/source/fontsubset/sft.cxx: 988           in 
vcl::TrueTypeFont::TrueTypeFont(const char *, tools::SvRef<FontCharMap>)()


_____________________________________________________________________________________________
*** CID 1680327:         Uninitialized members  (UNINIT_CTOR)
/vcl/source/fontsubset/sft.cxx: 988             in 
vcl::TrueTypeFont::TrueTypeFont(const char *, tools::SvRef<FontCharMap>)()
982     TrueTypeFont::TrueTypeFont(const char* pFileName, const FontCharMapRef 
xCharMap)
983         : AbstractTrueTypeFont(pFileName, xCharMap)
984         , fsize(-1)
985         , ptr(nullptr)
986         , ntables(0)
987     {
>>>     CID 1680327:         Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "mmhandle" is not initialized in this 
>>> constructor nor in any functions that it calls.
988     }
989     
990     TrueTypeFont::~TrueTypeFont()
991     {
992     #if !defined(_WIN32) || defined(DO_USE_TTF_ON_WIN32)
993         if (!fileName().empty())

** CID 1680326:       Uninitialized members  (UNINIT_CTOR)
/vcl/unx/generic/glyphs/freetype_glyphcache.cxx: 99           in 
FreetypeFontFile::FreetypeFontFile(rtl::OString)()


_____________________________________________________________________________________________
*** CID 1680326:         Uninitialized members  (UNINIT_CTOR)
/vcl/unx/generic/glyphs/freetype_glyphcache.cxx: 99             in 
FreetypeFontFile::FreetypeFontFile(rtl::OString)()
93                 pLangBoost = vcl::getLangBoost();
94             }
95     
96             if( pLangBoost && !strncasecmp( pLangBoost, 
&maNativeFileName.getStr()[nPos+1], 3 ) )
97                mnLangBoost += 0x2000;     // matching langinfo => better
98         }
>>>     CID 1680326:         Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "mnHandle" is not initialized in this 
>>> constructor nor in any functions that it calls.
99     }
100     
101     bool FreetypeFontFile::Map()
102     {
103         if (mnRefCount++ == 0)
104         {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://scan.coverity.com/projects/libreoffice?tab=overview

Reply via email to