[poppler] poppler/GfxState.cc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jan 25 18:31:44 UTC 2019


 poppler/GfxState.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit a6427ea6df68eb20e1970ddaf4017ba9a04e737a
Author: Vincent Le Garrec <legarrec.vincent at gmail.com>
Date:   Fri Jan 25 07:37:46 2019 +0100

    Fix ofz-8438
    
    https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8438

diff --git a/poppler/GfxState.cc b/poppler/GfxState.cc
index 2f515e66..84f28c44 100644
--- a/poppler/GfxState.cc
+++ b/poppler/GfxState.cc
@@ -33,6 +33,7 @@
 // Copyright (C) 2018 Klarälvdalens Datakonsult AB, a KDAB Group company, <info at kdab.com>. Work sponsored by the LiMux project of the city of Munich
 // Copyright (C) 2018 Volker Krause <vkrause at kde.org>
 // Copyright (C) 2018, 2019 Adam Reichold <adam.reichold at t-online.de>
+// Copyright (C) 2019 LE GARREC Vincent <legarrec.vincent at gmail.com>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -4655,7 +4656,7 @@ GfxShadingBitBuf::~GfxShadingBitBuf() {
 }
 
 bool GfxShadingBitBuf::getBits(int n, unsigned int *val) {
-  int x;
+  unsigned int x;
 
   if (nBits >= n) {
     x = (bitBuf >> (nBits - n)) & ((1 << n) - 1);


More information about the poppler mailing list