From 109928340f2c7acf7958d17ce094c83a3006ea0e Mon Sep 17 00:00:00 2001 From: Daniel Jahre Date: Thu, 18 Aug 2005 15:12:54 +0000 Subject: [PATCH] Daniel Jahre: added new security patch to xpdf and changed version to 3.00pl3 [2005081117272505681] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@6324 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/public/xpdf/xpdf-3.00pl3.patch.xpdf | 12 ++++++++++++ package/public/xpdf/xpdf.desc | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 package/public/xpdf/xpdf-3.00pl3.patch.xpdf diff --git a/package/public/xpdf/xpdf-3.00pl3.patch.xpdf b/package/public/xpdf/xpdf-3.00pl3.patch.xpdf new file mode 100644 index 000000000..524ce2479 --- /dev/null +++ b/package/public/xpdf/xpdf-3.00pl3.patch.xpdf @@ -0,0 +1,12 @@ +--- ./xpdf/XRef.cc.vanilla 2005-08-11 14:49:30.000000000 +0200 ++++ ./xpdf/XRef.cc 2005-08-11 14:50:35.000000000 +0200 +@@ -793,6 +793,9 @@ + } else { + keyLength = 5; + } ++ if (keyLength > 16) { ++ keyLength = 16; ++ } + permFlags = permissions.getInt(); + if (encVersion >= 1 && encVersion <= 2 && + encRevision >= 2 && encRevision <= 3) { diff --git a/package/public/xpdf/xpdf.desc b/package/public/xpdf/xpdf.desc index 4d41f4dbd..b332824eb 100644 --- a/package/public/xpdf/xpdf.desc +++ b/package/public/xpdf/xpdf.desc @@ -35,7 +35,7 @@ [L] GPL [S] Stable -[V] 3.00pl2 +[V] 3.00pl3 [P] X -?---5---9 178.300 [SRC] .