Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Raphael Nestler
poppler
Commits
fc162c92
Commit
fc162c92
authored
Feb 18, 2013
by
Pino Toscano
Browse files
PSOutputDev: initialize fontFileNameLen and psFileNames
avoid crashing in ~PSOutputDev when the PSOutputDev instance is not "ok"
parent
6d61f363
Changes
1
Hide whitespace changes
Inline
Side-by-side
poppler/PSOutputDev.cc
View file @
fc162c92
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment