openbsd-ports/print/poppler/patches/patch-poppler_Catalog_h
kili d5bb69dc38 SECURITY:
CVE-2006-0301 (fixed upstream in 0.4 but not merged into
0.5 before the "unstable" 0.5.9 got the xpdf 3.02 merge).

CVE-2007-0104 (fixed in CVS and in development version by merging
xpdf 3.02, but not in the "stable" version).

CVE-2007-3387 (from xpdf patch).

While here, remove quotes from COMMENT-* and fix WANTLIB-*.

ok naddy@
2007-07-31 22:22:01 +00:00

16 lines
552 B
Plaintext

$OpenBSD: patch-poppler_Catalog_h,v 1.1 2007/07/31 22:22:01 kili Exp $
Fix CVE-2007-0104. From poppler CVS.
--- poppler/Catalog.h.orig Mon Jan 23 15:43:36 2006
+++ poppler/Catalog.h Wed Jul 25 21:00:04 2007
@@ -193,7 +193,7 @@ class Catalog { (private)
PageMode pageMode; // page mode
PageLayout pageLayout; // page layout
- int readPageTree(Dict *pages, PageAttrs *attrs, int start);
+ int readPageTree(Dict *pages, PageAttrs *attrs, int start, int callDepth);
Object *findDestInTree(Object *tree, GooString *name, Object *obj);
};