[poppler] utils/HtmlFonts.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Sat Jun 17 10:36:48 UTC 2017
utils/HtmlFonts.cc | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 5323bc8baf9add8c28a0a6970ab94b6386f38d14
Author: Albert Astals Cid <aacid at kde.org>
Date: Sat Jun 17 12:35:41 2017 +0200
pdftohmtl: Initialize rotSkewMat
Fixes uninitialized memory read at bug #100314
diff --git a/utils/HtmlFonts.cc b/utils/HtmlFonts.cc
index a12992ec..49376d65 100644
--- a/utils/HtmlFonts.cc
+++ b/utils/HtmlFonts.cc
@@ -156,6 +156,7 @@ HtmlFont::HtmlFont(GfxFont *font, int _size, GfxRGB rgb){
pos = font_num;
if (!DefaultFont) DefaultFont=new GooString(fonts[font_num].name);
+ rotSkewMat[0] = rotSkewMat[1] = rotSkewMat[2] = rotSkewMat[3] = 0;
}
HtmlFont::HtmlFont(const HtmlFont& x){
More information about the poppler
mailing list