poppler/GfxFont.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c61f0c0afdf2ae48db1f0b15cf1cc0023d88c203
Author: Albert Astals Cid <[email protected]>
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 <[email protected]>
+// Copyright (C) 2005, 2006, 2008-2010, 2012, 2014, 2015, 2017-2021 Albert 
Astals Cid <[email protected]>
 // Copyright (C) 2005, 2006 Kristian Høgsberg <[email protected]>
 // Copyright (C) 2006 Takashi Iwai <[email protected]>
 // Copyright (C) 2007 Julien Rebetez <[email protected]>
@@ -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;
     }
 
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to