poppler/PSOutputDev.cc | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit fc162c92661df663a802df6b0a1504845d8a30a5
Author: Pino Toscano <[email protected]>
Date: Mon Feb 18 11:12:56 2013 +0100
PSOutputDev: initialize fontFileNameLen and psFileNames
avoid crashing in ~PSOutputDev when the PSOutputDev instance is not "ok"
diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index 8fd3107..7ad7234 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -1012,6 +1012,7 @@ PSOutputDev::PSOutputDev(const char *fileName, PDFDoc
*doc, XRef *xrefA, Catalog
fontIDs = NULL;
fontFileIDs = NULL;
fontFileNames = NULL;
+ fontFileNameLen = 0;
font8Info = NULL;
font16Enc = NULL;
imgIDs = NULL;
@@ -1022,6 +1023,7 @@ PSOutputDev::PSOutputDev(const char *fileName, PDFDoc
*doc, XRef *xrefA, Catalog
haveTextClip = gFalse;
haveCSPattern = gFalse;
t3String = NULL;
+ psFileNames = NULL;
forceRasterize = forceRasterizeA;
@@ -1077,6 +1079,7 @@ PSOutputDev::PSOutputDev(PSOutputFunc outputFuncA, void
*outputStreamA,
fontIDs = NULL;
fontFileIDs = NULL;
fontFileNames = NULL;
+ fontFileNameLen = 0;
font8Info = NULL;
font16Enc = NULL;
imgIDs = NULL;
@@ -1087,6 +1090,7 @@ PSOutputDev::PSOutputDev(PSOutputFunc outputFuncA, void
*outputStreamA,
haveTextClip = gFalse;
haveCSPattern = gFalse;
t3String = NULL;
+ psFileNames = NULL;
forceRasterize = forceRasterizeA;
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler