summaryrefslogtreecommitdiff
path: root/graphics/kdegraphics4
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2005-01-20 07:38:14 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2005-01-20 07:38:14 +0000
commitb5ceef8e2e778b2b9181bd34d17132cfc745e6a9 (patch)
treedf9b1f896c8506da3cefc599f2943e6d8b45c2d4 /graphics/kdegraphics4
parent- Link to ASM files so shared library actually works. (diff)
Fix yet another buffer overflow in imported xpdf sources.
References: http://www.kde.org/info/security/advisory-20050119-1.txt http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0064 http://www.idefense.com/application/poi/display?id=186&type=vulnerabilities
Notes
Notes: svn path=/head/; revision=126904
Diffstat (limited to 'graphics/kdegraphics4')
-rw-r--r--graphics/kdegraphics4/Makefile2
-rw-r--r--graphics/kdegraphics4/files/patch-post-3.3.2-kdegraphics-3.diff14
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/kdegraphics4/Makefile b/graphics/kdegraphics4/Makefile
index 3c749b6d1270..f91ebd314522 100644
--- a/graphics/kdegraphics4/Makefile
+++ b/graphics/kdegraphics4/Makefile
@@ -8,7 +8,7 @@
PORTNAME= kdegraphics
PORTVERSION= ${KDE_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
diff --git a/graphics/kdegraphics4/files/patch-post-3.3.2-kdegraphics-3.diff b/graphics/kdegraphics4/files/patch-post-3.3.2-kdegraphics-3.diff
new file mode 100644
index 000000000000..a222921858bb
--- /dev/null
+++ b/graphics/kdegraphics4/files/patch-post-3.3.2-kdegraphics-3.diff
@@ -0,0 +1,14 @@
+*** kpdf/xpdf/XRef.cc.orig Wed Jan 12 17:10:53 2005
+--- kpdf/xpdf/XRef.cc Wed Jan 12 17:11:22 2005
+***************
+*** 793,798 ****
+--- 793,801 ----
+ } else {
+ keyLength = 5;
+ }
++ if (keyLength > 16) {
++ keyLength = 16;
++ }
+ permFlags = permissions.getInt();
+ if (encVersion >= 1 && encVersion <= 2 &&
+ encRevision >= 2 && encRevision <= 3) {