summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2011-09-03 16:23:17 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2011-09-03 16:23:17 +0000
commit61a33922a3f883b17a2474b46b22b3eb491ae990 (patch)
tree7e624f36a946cd679d522ed7cbf149ec9cd92cca /x11-toolkits
parentUpdate range to exclude nss 3.12.11 from vuln, as kwm@'s commit (diff)
- Security fix for reading GIF images
Security: CVE-2007-5137
Notes
Notes: svn path=/head/; revision=281103
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/tk82/Makefile2
-rw-r--r--x11-toolkits/tk82/files/patch-tkImgGIF.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/x11-toolkits/tk82/Makefile b/x11-toolkits/tk82/Makefile
index 705ca7c12e02..22f33d30cc8f 100644
--- a/x11-toolkits/tk82/Makefile
+++ b/x11-toolkits/tk82/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tk
PORTVERSION= 8.2.3
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= x11-toolkits tk
MASTER_SITES= ${MASTER_SITE_TCLTK}
MASTER_SITE_SUBDIR= tcl8_2
diff --git a/x11-toolkits/tk82/files/patch-tkImgGIF.c b/x11-toolkits/tk82/files/patch-tkImgGIF.c
new file mode 100644
index 000000000000..6538db708959
--- /dev/null
+++ b/x11-toolkits/tk82/files/patch-tkImgGIF.c
@@ -0,0 +1,11 @@
+--- ../generic/tkImgGIF.c.orig 1999-07-01 02:39:44.000000000 +0200
++++ ../generic/tkImgGIF.c 2011-09-03 18:20:45.000000000 +0200
+@@ -666,7 +666,7 @@
+ ypos += 2; break;
+ }
+
+- while (ypos >= height) {
++ while (ypos >= rows) {
+ ++pass;
+ switch (pass) {
+ case 1: