commit c666833e4163a93451eab27c675af9ca82d11593
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Aug 19 23:37:51 2018 +0200

    poppler 0.68

 CMakeLists.txt   |  4 ++--
 NEWS             | 25 +++++++++++++++++++++++++
 cpp/Doxyfile     |  2 +-
 qt5/src/Doxyfile |  2 +-
 4 files changed, 29 insertions(+), 4 deletions(-)

commit 9492eeb6af75d691a2131fa8481556b1ac86795c
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Aug 19 23:29:10 2018 +0200

    Update (C)

 utils/HtmlFonts.cc | 1 +
 1 file changed, 1 insertion(+)

commit 7a74c4071f001664c4383ea8e4e9d941bdb438b4
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Aug 19 19:52:56 2018 +0200

    Don't give a warning when Marked value is false

    Bug #107430

 poppler/Catalog.cc | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

commit ce0f124ae2a50c51cae32b8c4e7559a9223ea3d5
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Aug 18 23:58:40 2018 +0200

    Make sure that the openjpeg we're getting is version 2

 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 06106d930b18a34c18e32734b73c212b852161a5
Author: Aleksey Nikolaev <nae202@gmail.com>
Date:   Thu Aug 16 17:20:00 2018 +0200

    Fix build with MSVC

 cpp/poppler-page.cpp | 4 ++++
 cpp/poppler-page.h   | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

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

    LONG_LONG_MAX -> LLONG_MAX

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

commit 1b0b9e14e25494dfc08bbb9fe7232c7fca0d7f32
Author: Hannah von Reth <vonreth@kde.org>
Date:   Thu Aug 16 15:39:28 2018 +0200

    Remove wchar_t- on MSVC

    Qt is built with wchar_t so if you try to build poppler without it,
    there are conflicting types and everything fails

 CMakeLists.txt | 1 -
 1 file changed, 1 deletion(-)

commit 12bf632489587df9da416ed8303fb8aefc26bdac
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Aug 16 11:18:21 2018 +0200

    Use OpenJpeg cmake config file instead of pkgconfig

 CMakeLists.txt                       | 16 ++++++++--------
 cmake/modules/FindLIBOPENJPEG2.cmake | 22 ----------------------
 2 files changed, 8 insertions(+), 30 deletions(-)

commit 0f35c2de35efa5689e4668b76a68c76de893fe7c
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Aug 9 17:04:38 2018 +0200

    Fix spacing

 poppler/SignatureInfo.cc | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

commit 90ace43c5bb52854b4fa1fdd224d0273b8fd6ff0
Author: Chinmoy Ranjan Pradhan <chinmoyrp65@protonmail.com>
Date:   Thu Aug 9 16:39:30 2018 +0200

    [qt] Add Reason and Location to SignatureInfo

    Small tweaks (spacing) by Albert Astals Cid

    Bug #107299

 qt5/src/poppler-form.cc | 17 +++++++++++++++++
 qt5/src/poppler-form.h  | 13 +++++++++++++
 2 files changed, 30 insertions(+)

commit c9bf96aa99059ce0216a75ae2868b79d6e21bc3d
Author: Chinmoy Ranjan Pradhan <chinmoyrp65@protonmail.com>
Date:   Thu Aug 9 16:35:14 2018 +0200

    Add Reason and Location to SignatureInfo

    Small tweaks (const, etc) by Albert Astals Cid

    Bug #107299

 poppler/Form.cc          | 10 ++++++++++
 poppler/SignatureInfo.cc | 29 +++++++++++++++++++++++++++++
 poppler/SignatureInfo.h  |  7 +++++++
 3 files changed, 46 insertions(+)

commit 9f8fb7aae92268c9460434abd4d970f04a9af926
Author: Steven Boswell <ulatekh@yahoo.com>
Date:   Thu Aug 9 16:16:10 2018 +0200

    HtmlFont: Fix possible uninitialized variable & dangling reference

    Bug #107316

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

commit 1f8ab328f1440721fe7be7615a9d965a6e3d0439
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Aug 9 00:40:14 2018 +0200

    XRef::readXRef: Fix possible integer overflow

    fixes oss-fuzz/9777

 poppler/XRef.cc | 5 +++++
 1 file changed, 5 insertions(+)

commit c1e90bb19003af9ddf7a1ea88399d9ce47db233f
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jul 23 23:05:14 2018 +0200

    Always initialize SplashPipe:cSrcVal

    Fixes Use-of-uninitialized-value in oss-fuzz/9560

 splash/Splash.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 71645d9e76f9bb075ae9b6599d281b8382e86e67
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jul 23 00:21:40 2018 +0200

    Add (C) for the last commits

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

commit f9c7d61e36bb1fb0c77681b993fe5f4c2b1cd37e
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jul 23 00:19:17 2018 +0200

    Don't free signeddata nor signerinfo

    They get freed as part of freeing CMSMessage

 poppler/SignatureHandler.cc | 4 ----
 1 file changed, 4 deletions(-)

commit 54a75cb091b0994290e6b398b98e3113cd61355a
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jul 23 00:18:50 2018 +0200

    Don't destroy the cert, doesn't belong to us

 poppler/SignatureHandler.cc | 3 ---
 1 file changed, 3 deletions(-)

commit 36f317d488d8ce6efb69db89a2eca09a98553ab5
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Jul 22 23:48:03 2018 +0200

    Copy subject dn instead of storing it

    It comes deep from the cert memory so it's destroyed shorting
    after and
    thus is invalid if we don't copy it

 poppler/SignatureInfo.cc | 6 ++++--
 poppler/SignatureInfo.h  | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

commit 6c4eaf5642439d87dafa03391441bb3e7f3a98c4
Author: Zsombor Hollay-Horvath <hollay.horvath@gmail.com>
Date:   Sat Jul 21 00:28:50 2018 +0200

    cpp: Add rotation() to text_box

    Bug #106562

 cpp/poppler-page.cpp  | 7 +++++++
 cpp/poppler-page.h    | 6 ++++++
 cpp/poppler-private.h | 2 ++
 3 files changed, 15 insertions(+)

commit bcd89bc0abb2cc05d3dc428074bb24b450ab7cf0
Author: Thibaut Brard <thibaut.brard@gmail.com>
Date:   Sat Jul 21 00:17:58 2018 +0200

    pdftohtml: Add option to not round coordinates

    when outputing as xml

 utils/HtmlOutputDev.cc | 22 ++++++++++++++++++----
 utils/pdftohtml.1      |  3 +++
 utils/pdftohtml.cc     |  4 ++++
 3 files changed, 25 insertions(+), 4 deletions(-)

commit 6ef17493c7d5344aba4278017724746e63659f7f
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Jul 21 00:14:07 2018 +0200

    JpegWriter: Use the C++11 cascading constructors

 goo/JpegWriter.cc | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

commit 0b4ad184b479e24b13b0453b89859b75b699b131
Author: Martin Packman <gzlist@googlemail.com>
Date:   Fri Jul 20 23:34:37 2018 +0200

    Add -jpegopt optimize option support to utils

    New option 'optimize=y' for utils that take a -jpegopt param,
    pdftocairo and pdftoppm. This corresponds to the cjpeg -optimize
    flag, and slightly reduces the size of the output jpeg but uses
    additional cpu and memory.

    New jpegOptimize boolean in splash/SplashBitmap WriteImgParams.

    New setOptimize method on goo/JpegWriter taking a boolean.

    Update manpages for new option.

 goo/JpegWriter.cc      | 12 ++++++++++++
 goo/JpegWriter.h       |  2 ++
 splash/SplashBitmap.cc |  2 ++
 splash/SplashBitmap.h  |  2 ++
 utils/pdftocairo.1     |  6 ++++++
 utils/pdftocairo.cc    | 11 +++++++++++
 utils/pdftoppm.1       |  6 ++++++
 utils/pdftoppm.cc      | 11 +++++++++++
 8 files changed, 52 insertions(+)

commit 20d89699b35397f23352d0e60a3e19da2ce6b410
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Jul 19 23:20:03 2018 +0200

    poppler 0.67

 CMakeLists.txt   | 4 ++--
 NEWS             | 8 ++++++++
 cpp/Doxyfile     | 2 +-
 qt5/src/Doxyfile | 2 +-
 4 files changed, 12 insertions(+), 4 deletions(-)

commit 8bc5acb1c18e77e912b7d9caa7f73e6969d1dede
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Jul 19 17:55:13 2018 +0200

    Splash::arbitraryTransformMask: Set clipRes to splashClipPartial in
    some if branches

    If xx or yy are not in the expected bounds something went wrong so
    don't assume we're still inside the valid area for the destination
    either

    fixes oss-fuzz/9382

 splash/Splash.cc | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

commit 004e3c10df0abda214f0c293f9e269fdd979c5ee
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Jul 18 20:31:27 2018 +0200

    Fix crash when Object has negative number

    Spec says object number has to be > 0 and gen has to be >= 0

    Reported by email

 poppler/Parser.cc | 5 +++++
 1 file changed, 5 insertions(+)

commit 155897f3cb88db5050b9d16dc50bfd8b660077b6
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Jul 17 01:05:38 2018 +0200

    JBIG2Stream::readTextRegion: Fix uninitialized memory read

    fixes oss-fuzz/9381

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

commit eb1291f86260124071e12226294631ce685eaad6
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Jul 11 00:26:01 2018 +0200

    GfxPatchMeshShading::getParameterizedColor: Fix uninitialized
    memory read

    fixes oss-fuzz/9264

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

commit 729e212f465d015959e5a64662593e5e3f8e4924
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Jul 6 17:29:46 2018 +0200

    Add some easy const to XRef

 poppler/XRef.cc | 26 +++++++++++++-------------
 poppler/XRef.h  | 46 +++++++++++++++++++++++-----------------------
 2 files changed, 36 insertions(+), 36 deletions(-)

commit e607d9c4a0057c390c59e306f6dc010aea2125ee
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date:   Sun May 20 19:31:53 2018 +0200

    Small optimization for AABGR8 pipes

    Skip some computations if both src and dest alpha are zero, or if
    src is fully opaque. Equivalent to Commit f47936af7508A
    ("Small optimization for AAXRGB8 pipes").

 splash/Splash.cc | 28 +++++++++++++++++++---------
 1 file changed, 19 insertions(+), 9 deletions(-)

commit 1b5298ebb8d76b5eee11d9cccdfffcdceb5d064b
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jul 2 21:46:10 2018 +0200

    GfxUnivariateShading::getColor: Fix uninitialized memory read

    fixes oss-fuzz/9165

 poppler/GfxState.cc | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

commit d8346166d5150c1673379dcb3c658b9805f99764
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jul 2 20:10:25 2018 +0200

    Gfx::doRadialShFill: Don't divide by zero

    fixes oss-fuzz/9133

 poppler/Gfx.cc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit 0735821ee03f9d83a9817450b12f45a502f51834
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Jun 26 17:09:52 2018 +0200

    Form: Remove return in void function

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

commit b317ee3ecb939b91e1f8245177defaa59f8478b7
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Jun 26 15:27:48 2018 +0200

    Form: Remove unused getContentCopy

    it's confusing to have getContent and getContentCopy that does 99%
    the same

 poppler/Form.cc | 11 -----------
 poppler/Form.h  |  3 ---
 2 files changed, 14 deletions(-)

commit 664d166194bc0832fd446b354630c4c7994ae4e3
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Jun 26 15:22:13 2018 +0200

    Form: Add a few more const

 poppler/Form.cc |  8 ++++----
 poppler/Form.h  | 18 +++++++++---------
 2 files changed, 13 insertions(+), 13 deletions(-)

commit 5ef6a845d8872f5dbc5698260ab5e12391f01f76
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jun 25 19:21:37 2018 +0200

    Splash::arbitraryTransformImage: Fix uninitialized memory read

    fixes oss-fuzz/9066

 splash/Splash.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 267228bb071016621c80fc8514927905164aaeea
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Jun 24 18:28:22 2018 +0200

    pdfsig: Use posix basename() instead of GNU one

    So it builds on non GNU systems too

    Bug #106783

 utils/pdfsig.cc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 459f369145a9d8f638fe123425f0e2880487640e
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Jun 24 11:51:20 2018 +0200

    Move variable declarations closer to where they are used

    Allows for declaring two of them as const

 poppler/Stream.cc | 26 ++++++++++----------------
 1 file changed, 10 insertions(+), 16 deletions(-)

commit e8b82c4239da638ae77dfab07faaff33af4af1cc
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Jun 24 11:46:36 2018 +0200

    ImageStream::getLine: Fix ubsan undefined shift

    I'm not totally sure this is the "correct" fix, but doesn't regress
    any file on my test suite so seems one of those cases only happens
    on bad files, and this helps oss-fuzz progress in its testing

    Fixes oss-fuzz/8432

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

commit c0e87eda688351b3caf222e5525f75a3190fd87c
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Jun 24 11:15:52 2018 +0200

    AnnotBorder::parseDashArray: Fix correct calculation

    obj not being a num also means not correct

    fixes oss-fuzz/9056

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

commit 322f8a453664fbad65c4b998034adf8df2ac0bea
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Jun 23 00:41:18 2018 +0200

    GfxDeviceNColorSpace::parse: Fix leak on malformed files

    Fixes oss-fuzz/9036

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

commit af4d5f31705dcfd65319da430f87744b5c1f3616
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Jun 22 23:55:09 2018 +0200

    SplashFTFont::makeGlyph: Bail out if constructor returned early

    fixes oss-fuzz/8811

 splash/SplashFTFont.cc | 7 +++++--
 splash/SplashFTFont.h  | 3 ++-
 2 files changed, 7 insertions(+), 3 deletions(-)

commit 0281c02b9a1cd776c45ca1fd2f5eeea15f6827a6
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Jun 22 17:33:21 2018 +0200

    (C) update from 2 commits ago

 fofi/FoFiType1C.h | 1 +
 1 file changed, 1 insertion(+)

commit 1b65f9eb1beef0d1a41a4d59c89e4acd193a1a3f
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Jun 22 17:29:26 2018 +0200

    Gfx:Generalize protection against a pattern drawing itself

    fixes oss-fuzz/8929

 poppler/CairoOutputDev.cc  |  2 +-
 poppler/Gfx.cc             | 53
 ++++++++++++++++++++++++++--------------------
 poppler/Gfx.h              |  4 ++--
 poppler/PSOutputDev.cc     |  2 +-
 poppler/SplashOutputDev.cc |  2 +-
 5 files changed, 35 insertions(+), 28 deletions(-)

commit da349184c61034ac5818efe90d426de6af2c74d7
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Jun 22 16:48:11 2018 +0200

    FoFiType1C::readPrivateDict: Fix potential uninitialized memory read

    fixes oss-fuzz/8864

 fofi/FoFiType1C.cc | 2 --
 fofi/FoFiType1C.h  | 6 +++---
 2 files changed, 3 insertions(+), 5 deletions(-)

commit 877dcec7e2357991d79508a2aefc39d1510bf235
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Jun 19 23:16:47 2018 +0200

    Poppler 0.66

 CMakeLists.txt   | 4 ++--
 NEWS             | 7 +++++++
 cpp/Doxyfile     | 2 +-
 qt5/src/Doxyfile | 2 +-
 4 files changed, 11 insertions(+), 4 deletions(-)

commit 37d2aa88409429397a6c8801b34213f6eded8e1e
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Jun 19 17:42:16 2018 +0200

    PostScriptFunction::parseCode: Fix memory leak on malformed files

    Fixes oss-fuzz/8859

 poppler/Function.cc | 1 +
 1 file changed, 1 insertion(+)

commit e4f4cbddd11ae6386985879187007fa5add43624
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Jun 12 09:32:57 2018 +0200

    StreamPredictor: Move pixBytes calculation after checks

    fixes oss-fuzz/8835

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

commit adb7cac1b787b35c4f5d25e0441e459ab92d0469
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Jun 12 09:00:33 2018 +0200

    GfxImageColorMap: Initialize y to prevent uninit mem use

    Fixes oss-fuzz/8839

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

commit 6b37df791731e40837fa1eba86ae740650431438
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Jun 6 17:56:27 2018 +0200

    SampledFunction: Fix divide by zero

    Actual valid values are 1, 2, 4, 8, 12, 16, 24, and 32 but this
    check is easier

    fixes oss-fuzz/8713

 poppler/Function.cc | 4 ++++
 1 file changed, 4 insertions(+)

commit d6a3dc3ebbc97fcdd3c45028b5741f4b99fc0279
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Jun 6 17:46:17 2018 +0200

    GfxAxialShading::parse: Fix memory leak on broken files

    fixes oss-fuzz/8742

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

commit 599e28433268ceaa933cf2a2492c81da4418e207
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Jun 5 20:11:19 2018 +0200

    JBIG2Stream::readSymbolDictSeg: Fix potential uninitialized memory
    read

    fixes oss-fuzz/8748

 poppler/JBIG2Stream.cc | 1 +
 1 file changed, 1 insertion(+)

commit a231de883b438af1807726fab4265ecf4689cf50
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Jun 5 20:00:03 2018 +0200

    CMap::parse2: Initialize end

    fixes oss-fuzz/8747

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

commit 2c629fefe2b2b1e2663521beeac432c808afe7c7
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Jun 5 19:56:53 2018 +0200

    JBIG2Stream::readSymbolDictSeg: Initialize dh

    fixes oss-fuzz/8751

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

commit 0053966d3ec5b5c4eb6480417b2c8a8ccd910964
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jun 4 20:38:41 2018 +0200

    JBIG2Stream::readSymbolDictSeg: Initialize refDX

    fixes oss-fuzz/8696

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

commit 8dfe3fb37ec01e35eb22a0932fe708bc9b78cb4f
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed May 30 17:09:16 2018 +0200

    LONG_LONG_MAX -> LLONG_MAX

    that's the name the standard uses

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

commit b4f0e2b27a0880801c7af0c82fe17894797511b2
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date:   Sat May 26 19:51:20 2018 +0200

    Splash: Reserve space for path segments upfront

    Instead of iteratively growing the array reserve sufficient space
    prior to populating the array.

 poppler/SplashOutputDev.cc |  2 ++
 splash/SplashPath.cc       | 18 ++++++++++++++++++
 splash/SplashPath.h        |  4 ++++
 3 files changed, 24 insertions(+)

commit 450a8a54e080b5bb80533b1777b3b670bea1f27a
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed May 30 09:09:12 2018 +0200

    JBIG2Stream::readSymbolDictSeg: Initialize refDY

    fixes oss-fuzz/8621

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

commit 1750c0155762e75d0a80ab55b50d1bfd172c2430
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date:   Tue May 29 23:49:05 2018 +0200

    splash: Correctly manipulate spot colors if SPOT_NCOMPS != 4

    The default number of spot colors is 4, in this case the change is
    without effect, otherwise only the last 4 colors where handled.

 splash/SplashTypes.h | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit fb4629eb4b1787332b88b330da16353e5ade7b4d
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue May 29 20:32:23 2018 +0200

    SplashFTFont: Early return if face->units_per_EM is 0

    fixes oss-fuzz/8617

 splash/SplashFTFont.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 943a465d7b76b26de83d2038226c72bcf619c29f
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue May 29 20:23:51 2018 +0200

    SplashFTFont: Initialize textScale

    fixes oss-fuzz/8616

 splash/SplashFTFont.cc | 1 +
 1 file changed, 1 insertion(+)

commit f821faa1795c1b25104d84e9f5a7e8ad218baa61
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue May 29 20:18:26 2018 +0200

    CMap::parse2: Initialize start

    fixes oss-fuzz/8611

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

commit a76c8fbd50a3a5cbe0487158e9d2b325e596d2c6
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue May 29 01:01:26 2018 +0200

    GfxSeparationColorSpace::getRGB: ensure color2 doesn't have uninit
    values

    if alt->getNComps() is bigger than func->getOutputSize() (which
    is most
    likely a faulty file) we init those indexes of color2 with 0

    fixes oss-fuzz/8586

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

commit e35fdb1448b7860d697b9c2ec8bda49c7a8a3ae5
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue May 29 00:59:22 2018 +0200

    JBIG2Stream::readTextRegion: Initialize ds

    fixes oss-fuzz/8594

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

commit bb25c0d46f1f0e037805f0c6dde07f3ea9c9320c
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue May 29 00:55:28 2018 +0200

    Gfx::doRadialShFill: Initialize colorA, colorB and colorC

    fixes oss-fuzz/8587

 poppler/Gfx.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit b8cf8b04cbd1c0c5643cc77ed7b0b60525ecf080
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon May 28 23:51:32 2018 +0200

    FoFiType1::parse: Don't copy to buf more than the available file

    fixes oss-fuzz/8576

 fofi/FoFiType1.cc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 10a3dc2a9c92349e498ea36bb342b821dcfc9d76
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon May 28 17:44:34 2018 +0200

    GfxState.cc: Fix undefined behaviour when compBits is 31

    it's a technical issue since according to spec biggest
    valid value for compBits is 16, but this is simpler imho

    fixes oss-fuzz/8582

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

commit 96e7bc19ffcaf46d4cb69660ed040c09d46815d6
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun May 27 09:42:24 2018 +0200

    JBIG2Stream::readTextRegion: Initialize a few variables

    So if the stream is broken we don't use uninitialized variables

    fixes oss-fuzz/8547

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

commit 9c0c538e8d1aa39cd136cfb8fe0fbfe1def5174d
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun May 27 09:34:16 2018 +0200

    Gfx::doAxialShFill: initialize color1

    fixes oss-fuzz/8546

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

commit 18f376c0dff184851b3ee4c05c40b4ee2c21da8c
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun May 27 09:29:49 2018 +0200

    FoFiType1::parse: Fix reading past font length

    fixes oss-fuzz/8545

 fofi/FoFiType1.cc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 19d3993f3f40b5113141d5a55acea307c174f1d3
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun May 27 09:10:05 2018 +0200

    XRef::fetch: Don't try to fetch objects with negative offset

    fixes oss-fuzz/8433

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

commit 9a8d33246601dbd2bea98bb3404596848f71162a
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun May 27 08:47:19 2018 +0200

    Splash::fillGlyph2: fix buffer overflow

    Make sure xx / 8 + 1 is not out of bounds

    fixes oss-fuzz/8422

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

commit 1bc71245fa88dc23dc355f926f50f04896739fff
Author: Adam Reichold <adam.reichold@t-online.de>
Date:   Sat May 26 11:54:41 2018 +0200

    LZWStream: make inputBuf unsigned

    since shifting negative numbers is undefined according to spec

 poppler/Stream.cc | 6 +++---
 poppler/Stream.h  | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

commit 68c5977980a60b2fbac0a5938e697cf09f37b0a2
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 25 23:06:53 2018 +0200

    BaseCryptStream: Initialize all of objKey

    fixes oss-fuzz/8493

 poppler/Decrypt.cc | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit 14adecb9693345b7e3baa6dee05f5c88dde7952c
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 25 22:57:29 2018 +0200

    Decrypt::md5: initialize x

    When msgLen is small enough x would had initialized values for some
    parts of the md5 calculation

    fixes oss-fuzz/8492

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

commit 71bb82bdecccc235e15255635cab2c31cce58e0e
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 25 22:52:31 2018 +0200

    Gfx::doAxialShFill: initialize color0

    fixes oss-fuzz/8470

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

commit b245154fdebc9a78db163bc95959c6c8f5b4126f
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 25 22:46:22 2018 +0200

    Parser::makeStream: Don't overflow length

    fixes oss-fuzz/8499

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

commit 86777478387577aee8242eb2f11932041e87eff5
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 25 19:44:50 2018 +0200

    Splash::fillWithPattern: initialize pipe

    Makes sure if things fail we're not painting with uninitialized memory

    fixes oss-fuzz/8538

 splash/Splash.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 97caec070090d112d4fb5b63dc433a34e214c7e5
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 25 19:38:19 2018 +0200

    FoFiType1C::readTopDict: Return early if parsing fails

    fixes oss-fuzz/8456

 fofi/FoFiType1C.cc | 3 +++
 1 file changed, 3 insertions(+)

commit 7e2189377bfaa0594e25eaba26aca47bea59f315
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 25 17:47:07 2018 +0200

    GfxGouraudTriangleShading::parse: Add bounds check for compBits

    The spec is much more strict on what is valid, but i'm only doing
    a check so that the code doesn't break

 poppler/GfxState.cc | 4 ++++
 1 file changed, 4 insertions(+)

commit fef32ba463a225618a967c541d939fd69e02f2dd
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 25 17:42:22 2018 +0200

    GfxPatchMeshShading::parse: Add bounds check for compBits

    The spec is much more strict on what is valid, but i'm only doing
    a check so that the code doesn't break

    fixes oss-fuzz/8445

 poppler/GfxState.cc | 4 ++++
 1 file changed, 4 insertions(+)

commit 3b9d8025dbdfcfac94ede20b05d86d177393cde7
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 25 17:26:37 2018 +0200

    Splash: Fix another potential uninitialized memory use

    fixes oss-fuzz/8466

 splash/Splash.cc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 0e3b18a48c3907a49c51a0ceded6078a2fd790eb
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 25 17:06:13 2018 +0200

    SplashUnivariatePattern::getColor: Fix potential uninitialized
    memory read

    If the GfxUnivariateShading doesn't provide enough bits of color
    fill them with 0 as to not have random memory read

    fixes oss-fuzz/8470

 poppler/GfxState.cc        | 5 +++--
 poppler/GfxState.h         | 4 +++-
 poppler/SplashOutputDev.cc | 6 +++++-
 3 files changed, 11 insertions(+), 4 deletions(-)

commit c75500bf6b2af4b9a26467ce55d1f2879e916b79
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 25 16:41:36 2018 +0200

    T3FontCache: change the order in which the overflow checks are done

    fixes oss-fuzz/8479

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

commit 4ea7ac960d9ecb6a407d0e660312f5701d3dcd49
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 25 16:35:49 2018 +0200

    SplashFTFont::getGlyphPath: early return if textScale == 0

    fixes oss-fuzz/8529

 splash/SplashFTFont.cc | 4 ++++
 1 file changed, 4 insertions(+)

commit c1164653bd8d6bcb7da1d959634f63592a393235
