summaryrefslogtreecommitdiff
path: root/x11/p5-Tk/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'x11/p5-Tk/patches/patch-ag')
-rw-r--r--x11/p5-Tk/patches/patch-ag15
1 files changed, 0 insertions, 15 deletions
diff --git a/x11/p5-Tk/patches/patch-ag b/x11/p5-Tk/patches/patch-ag
deleted file mode 100644
index 291f53b457e..00000000000
--- a/x11/p5-Tk/patches/patch-ag
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2008/04/01 15:51:25 tonnerre Exp $
-
-Fix buffer overflow vulnerability derived from old code (CVE-2006-4484).
-
---- pTk/mTk/generic/tkImgGIF.c.orig 2004-02-29 11:20:28.000000000 +0100
-+++ pTk/mTk/generic/tkImgGIF.c
-@@ -826,7 +826,7 @@ ReadImage(interp, imagePtr, chan, len, r
- /*
- * Initialize the decoder
- */
-- if (! ReadOK(chan, &initialCodeSize, 1)) {
-+ if (! ReadOK(chan, &initialCodeSize, 1) || initialCodeSize > MAX_LWZ_BITS) {
- Tcl_AppendResult(interp, "error reading GIF image: ",
- Tcl_PosixError(interp), (char *) NULL);
- return TCL_ERROR;