summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2008-07-09 10:30:37 +0000
committerdrochner <drochner@pkgsrc.org>2008-07-09 10:30:37 +0000
commitcb4d79225b1c9625082caaef824fe80338a8b13c (patch)
tree90f1386f3d01c901d83cbf09b03d33eb1e9aa7d1 /print
parent6d7ce9cb582f14720ba3a48436b4e5adcbea8bde (diff)
downloadpkgsrc-cb4d79225b1c9625082caaef824fe80338a8b13c.tar.gz
add a missing pointer initialization, fixes possible memory corruption
(CVE-2008-2950), patch from the advisory, bump PKGREVISION
Diffstat (limited to 'print')
-rw-r--r--print/poppler/Makefile4
-rw-r--r--print/poppler/distinfo3
-rw-r--r--print/poppler/patches/patch-aj13
3 files changed, 18 insertions, 2 deletions
diff --git a/print/poppler/Makefile b/print/poppler/Makefile
index 4e8cfb04f3b..1b0890bdadb 100644
--- a/print/poppler/Makefile
+++ b/print/poppler/Makefile
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.29 2008/06/05 21:03:37 drochner Exp $
+# $NetBSD: Makefile,v 1.30 2008/07/09 10:30:37 drochner Exp $
#
.include "../../print/poppler/Makefile.common"
+PKGREVISION= 1
+
COMMENT= PDF rendering library
USE_TOOLS+= gmake
diff --git a/print/poppler/distinfo b/print/poppler/distinfo
index a3fb2399472..f4e52c63ff1 100644
--- a/print/poppler/distinfo
+++ b/print/poppler/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.29 2008/06/05 21:03:37 drochner Exp $
+$NetBSD: distinfo,v 1.30 2008/07/09 10:30:37 drochner Exp $
SHA1 (poppler-0.8.3.tar.gz) = 763d18d9f0e625a936b3a3fbbcd00b58ddd2f84f
RMD160 (poppler-0.8.3.tar.gz) = f6553fdf468bd67ec8a7f943ba2cc7f141052302
@@ -6,3 +6,4 @@ Size (poppler-0.8.3.tar.gz) = 1463306 bytes
SHA1 (patch-aa) = 43c63c16d3a845e394a8eb0c3a321944fcf17615
SHA1 (patch-ab) = e3d413ec50a098af06cb2efc2fac2042064498dd
SHA1 (patch-ag) = d1581a1ca40bba34146a4a6f4ee7d38b8f6ff3b7
+SHA1 (patch-aj) = 7599a5c14b4d2bdd83283275e71c5a720360f362
diff --git a/print/poppler/patches/patch-aj b/print/poppler/patches/patch-aj
new file mode 100644
index 00000000000..9e17c1045ad
--- /dev/null
+++ b/print/poppler/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.3 2008/07/09 10:30:37 drochner Exp $
+
+--- poppler/Page.cc.orig 2008-07-09 12:02:41.000000000 +0200
++++ poppler/Page.cc
+@@ -230,7 +230,7 @@ GBool PageAttrs::readBox(Dict *dict, cha
+
+ Page::Page(XRef *xrefA, int numA, Dict *pageDict, PageAttrs *attrsA, Form *form) {
+ Object tmp;
+-
++ pageWidgets = NULL; //Security fix
+ ok = gTrue;
+ xref = xrefA;
+ num = numA;