New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sun Apr 9 10:11:17 UTC 2023


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


** CID 1524699:  Uninitialized variables  (UNINIT)
/vcl/unx/generic/gdi/cairotextrender.cxx: 214 in makeCacheId(const GenericSalLayout &)()


________________________________________________________________________________________________________
*** CID 1524699:  Uninitialized variables  (UNINIT)
/vcl/unx/generic/gdi/cairotextrender.cxx: 214 in makeCacheId(const GenericSalLayout &)()
208         FT_Face aFace = rFont.GetFtFace();
209         CairoFontsCache::CacheId aId;
210         aId.maFace = aFace;
211         aId.mpOptions = rFont.GetFontOptions();
212         aId.mbEmbolden = rInstance.NeedsArtificialBold();
213     
>>>     CID 1524699:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "aId". Field "aId.mbVerticalMetrics" is uninitialized.
214         return aId;
215     }
216     
217     void CairoTextRender::DrawTextLayout(const GenericSalLayout& rLayout, const SalGraphics& rGraphics)
218     {
219         const LogicalFontInstance& rInstance = rLayout.GetFont();


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3Du1Hy_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJikD5l4lGuyVajiDdFNs477-2FnR1-2FFgbD8F2FhcWZBhtxOs5VSI1MwuzKCoSBRK6AQAPlCAjOzciVCNgOb2rWl-2FkNThVhM7yR0TZLTRfH9IPD47VNnyooHW4GlDBhbnf6UUtDwEJ-2BdrnGKRNcvE-2FSssUNNbTt63B-2FaSq-2BseLK3drUA-3D



More information about the LibreOffice mailing list