[poppler] poppler/XRef.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Thu Aug 16 14:07:06 UTC 2018


 poppler/XRef.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 04db8bd27db154e055a0d1715c0f81d4c37d6871
Author: Albert Astals Cid <aacid at kde.org>
Date:   Thu Aug 16 16:06:50 2018 +0200

    LONG_LONG_MAX -> LLONG_MAX

diff --git a/poppler/XRef.cc b/poppler/XRef.cc
index 8d13be03..4352146e 100644
--- a/poppler/XRef.cc
+++ b/poppler/XRef.cc
@@ -509,7 +509,7 @@ GBool XRef::readXRef(Goffset *pos, std::vector<Goffset> *followedXRefStm, std::v
   Object obj;
   GBool more;
 
-  if (unlikely(start > (LONG_LONG_MAX - *pos))) {
+  if (unlikely(start > (LLONG_MAX - *pos))) {
     ok = gFalse;
     return gFalse;
   }


More information about the poppler mailing list