summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/poppler/files/poppler-0.8.3-page-init.patch')
-rw-r--r--app-text/poppler/files/poppler-0.8.3-page-init.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-text/poppler/files/poppler-0.8.3-page-init.patch b/app-text/poppler/files/poppler-0.8.3-page-init.patch
new file mode 100644
index 000000000000..84f4b4edfb79
--- /dev/null
+++ b/app-text/poppler/files/poppler-0.8.3-page-init.patch
@@ -0,0 +1,13 @@
+diff --git a/poppler/Page.cc b/poppler/Page.cc
+index b28a3ee..72a706b 100644
+--- a/poppler/Page.cc
++++ b/poppler/Page.cc
+@@ -230,7 +230,7 @@ GBool PageAttrs::readBox(Dict *dict, char *key, PDFRectangle *box) {
+
+ Page::Page(XRef *xrefA, int numA, Dict *pageDict, PageAttrs *attrsA, Form *form) {
+ Object tmp;
+-
++ pageWidgets = NULL; //Security fix
+ ok = gTrue;
+ xref = xrefA;
+ num = numA;