[poppler] utils/HtmlOutputDev.cc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Mar 22 21:33:38 UTC 2019


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

New commits:
commit 30c731b487190c02afff3f036736a392eb60cd9a
Author: Adam Reichold <adam.reichold at t-online.de>
Date:   Fri Mar 22 19:12:47 2019 +0100

    Properly initialize HtmlOutputDev::page to avoid SIGSEGV upon error exit.
    
    Closes #742

diff --git a/utils/HtmlOutputDev.cc b/utils/HtmlOutputDev.cc
index 8d9728f4..4bebe59b 100644
--- a/utils/HtmlOutputDev.cc
+++ b/utils/HtmlOutputDev.cc
@@ -1089,6 +1089,7 @@ HtmlOutputDev::HtmlOutputDev(Catalog *catalogA, const char *fileName, const char
 {
   catalog = catalogA;
   fContentsFrame = nullptr;
+  page = nullptr;
   docTitle = new GooString(title);
   pages = nullptr;
   dumpJPEG=true;


More information about the poppler mailing list