New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Fri May 11 13:52:50 UTC 2018


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.
6 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 1435548:  Null pointer dereferences  (FORWARD_NULL)


________________________________________________________________________________________________________
*** CID 1435548:  Null pointer dereferences  (FORWARD_NULL)
/vcl/unx/generic/glyphs/freetype_glyphcache.cxx: 350 in FreetypeManager::CreateFont(const FontSelectPattern &)()
344         if( it != maFontList.end() )
345             pFontInfo = it->second;
346     
347         if( !pFontInfo )
348             return nullptr;
349     
>>>     CID 1435548:  Null pointer dereferences  (FORWARD_NULL)
>>>     Passing "rFSD" to "FreetypeFont", which dereferences null "rFSD.mpFontInstance".
350         FreetypeFont* pNew = new FreetypeFont( rFSD, pFontInfo );
351     
352         return pNew;
353     }
354     
355     FreetypeFontFace::FreetypeFontFace( FreetypeFontInfo* pFI, const FontAttributes& rDFA )


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZBnDJeNb0HijxaS4JNJPxk3kpyAm2AYqo71yXmnOxB72ibeUH-2F-2F1Lhi9AZq3dRu-2F4-3D_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpycS-2F92O8orO4Q-2Fk01A7bIGoYhrD6AZcwiPgULuUrraH7MqyTaIXy1oCfqtMvTRernhWugNKbTjbCcEc6NLE29wpRR3d3y6vPUYw1tkS1fVyqnQee6DNhe3-2F9SqpSP9nhQUtProLUDUFzMSb0ZoPjNbLMur81Kku-2BFgfeCK-2FUBolM-3D



More information about the LibreOffice mailing list