summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2008-02-10 22:39:37 +0000
committerSteve Arnold <nerdboy@gentoo.org>2008-02-10 22:39:37 +0000
commit459f2e237d9e57dcb33a539563e58c761e74c341 (patch)
tree195c36c6f3f22c9958dcb70ad197effed6c9b436 /dev-util/sourcenav/files
parent* fix python eclass use, bug #207667 (diff)
downloadhistorical-459f2e237d9e57dcb33a539563e58c761e74c341.tar.gz
historical-459f2e237d9e57dcb33a539563e58c761e74c341.tar.bz2
historical-459f2e237d9e57dcb33a539563e58c761e74c341.zip
updated for Tk vulnerability and QA fixes (see bug #208464)
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'dev-util/sourcenav/files')
-rw-r--r--dev-util/sourcenav/files/sourcenav-5.2_beta2-tk-size.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-util/sourcenav/files/sourcenav-5.2_beta2-tk-size.patch b/dev-util/sourcenav/files/sourcenav-5.2_beta2-tk-size.patch
new file mode 100644
index 000000000000..0dc8e6ad7cca
--- /dev/null
+++ b/dev-util/sourcenav/files/sourcenav-5.2_beta2-tk-size.patch
@@ -0,0 +1,15 @@
+--- tk/generic/tkImgGIF.c.orig 2008-02-09 16:44:04.000000000 -0800
++++ tk/generic/tkImgGIF.c 2008-02-09 16:47:47.000000000 -0800
+@@ -804,6 +804,12 @@
+ Tcl_PosixError(interp), (char *) NULL);
+ return TCL_ERROR;
+ }
++
++ if (initialCodeSize > MAX_LWZ_BITS) {
++ Tcl_SetResult(interp, "malformed image", TCL_STATIC);
++ return TCL_ERROR;
++ }
++
+ if (transparent!=-1) {
+ cmap[transparent][CM_RED] = 0;
+ cmap[transparent][CM_GREEN] = 0;