[poppler] poppler/GfxFont.cc
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jul 21 19:53:08 UTC 2021
poppler/GfxFont.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c61f0c0afdf2ae48db1f0b15cf1cc0023d88c203
Author: Albert Astals Cid <aacid at kde.org>
Date: Wed Jul 21 21:44:54 2021 +0200
GfxCIDFont::getNextChar: Also set ox and oy to 0 on the non cmap case
Otherwise we may end up using uninitized values
oss-fuzz/36396
diff --git a/poppler/GfxFont.cc b/poppler/GfxFont.cc
index 77dc338b..ccd4366a 100644
--- a/poppler/GfxFont.cc
+++ b/poppler/GfxFont.cc
@@ -13,7 +13,7 @@
// All changes made under the Poppler project to this file are licensed
// under GPL version 2 or later
//
-// Copyright (C) 2005, 2006, 2008-2010, 2012, 2014, 2015, 2017-2020 Albert Astals Cid <aacid at kde.org>
+// Copyright (C) 2005, 2006, 2008-2010, 2012, 2014, 2015, 2017-2021 Albert Astals Cid <aacid at kde.org>
// Copyright (C) 2005, 2006 Kristian Høgsberg <krh at redhat.com>
// Copyright (C) 2006 Takashi Iwai <tiwai at suse.de>
// Copyright (C) 2007 Julien Rebetez <julienr at svn.gnome.org>
@@ -2009,7 +2009,7 @@ int GfxCIDFont::getNextChar(const char *s, int len, CharCode *code, Unicode cons
if (!cMap) {
*code = 0;
*uLen = 0;
- *dx = *dy = 0;
+ *dx = *dy = *ox = *oy = 0;
return 1;
}
More information about the poppler
mailing list