diff options
author | drochner <drochner@pkgsrc.org> | 2008-06-02 10:05:50 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2008-06-02 10:05:50 +0000 |
commit | 24f6cf1d7515f0a42bb2f9a2c811dc1de1da087d (patch) | |
tree | b8830a3eb20324744b79b1fa8ac1b866acc7af9f /graphics/imlib2 | |
parent | 81994662f10d5b4fbbf0b33227b04c62e579dc90 (diff) | |
download | pkgsrc-24f6cf1d7515f0a42bb2f9a2c811dc1de1da087d.tar.gz |
add a patch from redhat bugzilla (#449073) to fix the xpm half
of CVE-2008-2426, the pnm half was fixed in pkgsrc in 2006
bump PKGREVISION
Diffstat (limited to 'graphics/imlib2')
-rw-r--r-- | graphics/imlib2/Makefile | 4 | ||||
-rw-r--r-- | graphics/imlib2/distinfo | 3 | ||||
-rw-r--r-- | graphics/imlib2/patches/patch-cf | 13 |
3 files changed, 17 insertions, 3 deletions
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile index 35ace8f1f2c..f28a92951af 100644 --- a/graphics/imlib2/Makefile +++ b/graphics/imlib2/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.45 2008/06/01 11:18:52 tron Exp $ +# $NetBSD: Makefile,v 1.46 2008/06/02 10:05:50 drochner Exp $ DISTNAME= imlib2-1.4.0 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/} diff --git a/graphics/imlib2/distinfo b/graphics/imlib2/distinfo index c8bb6b60412..f0d27894a19 100644 --- a/graphics/imlib2/distinfo +++ b/graphics/imlib2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.20 2007/09/18 19:18:10 drochner Exp $ +$NetBSD: distinfo,v 1.21 2008/06/02 10:05:50 drochner Exp $ SHA1 (imlib2-1.4.0.tar.gz) = 2bbd65b82a690d21dab2bfeb33cc370f6bb49393 RMD160 (imlib2-1.4.0.tar.gz) = 5b663a420e1008ddc047665912cad473323803da @@ -10,3 +10,4 @@ SHA1 (patch-ae) = 6503e4cbc9bbb93f971ab2ae9fd7d50ddee9e0e8 SHA1 (patch-ca) = c2150a4c1ad3ccccaf37961e2f301cd7f2ba2044 SHA1 (patch-cb) = da837b92a1a4cfd139fe2d9ed319d1cd6e0fb703 SHA1 (patch-ce) = 2a6d3fd704885d56b3ed4c2a19d2800f29c7c9a0 +SHA1 (patch-cf) = 25e8616cebc2983b51d1230339d17620a25cc156 diff --git a/graphics/imlib2/patches/patch-cf b/graphics/imlib2/patches/patch-cf new file mode 100644 index 00000000000..6da54b63c72 --- /dev/null +++ b/graphics/imlib2/patches/patch-cf @@ -0,0 +1,13 @@ +$NetBSD: patch-cf,v 1.3 2008/06/02 10:05:50 drochner Exp $ + +--- src/modules/loaders/loader_xpm.c.orig 2008-06-02 11:44:35.000000000 +0200 ++++ src/modules/loaders/loader_xpm.c +@@ -284,7 +284,7 @@ load(ImlibImage * im, ImlibProgressFunct + if (line[k] != ' ') + { + s[0] = 0; +- sscanf(&line[k], "%65535s", s); ++ sscanf(&line[k], "%255s", s); + slen = strlen(s); + k += slen; + if (!strcmp(s, "c")) |