[poppler] splash/SplashFTFont.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Tue May 29 18:24:22 UTC 2018


 splash/SplashFTFont.cc |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 943a465d7b76b26de83d2038226c72bcf619c29f
Author: Albert Astals Cid <aacid at kde.org>
Date:   Tue May 29 20:23:51 2018 +0200

    SplashFTFont: Initialize textScale
    
    fixes oss-fuzz/8616

diff --git a/splash/SplashFTFont.cc b/splash/SplashFTFont.cc
index 1f1c6ada..79b7fdd4 100644
--- a/splash/SplashFTFont.cc
+++ b/splash/SplashFTFont.cc
@@ -60,6 +60,7 @@ static int glyphPathCubicTo(const FT_Vector *ctrl1, const FT_Vector *ctrl2,
 SplashFTFont::SplashFTFont(SplashFTFontFile *fontFileA, SplashCoord *matA,
 			   SplashCoord *textMatA):
   SplashFont(fontFileA, matA, textMatA, fontFileA->engine->aa), 
+  textScale(0),
   enableFreeTypeHinting(fontFileA->engine->enableFreeTypeHinting),
   enableSlightHinting(fontFileA->engine->enableSlightHinting)
 {


More information about the poppler mailing list