diff options
author | tron <tron> | 2008-11-23 18:41:16 +0000 |
---|---|---|
committer | tron <tron> | 2008-11-23 18:41:16 +0000 |
commit | c187f838d2c4ad5815ec0df08efc8351829b171a (patch) | |
tree | 522cb1913b3eef775c4ff3b9a91dc64690b99632 /graphics/imlib2/patches | |
parent | e7184067f669c4982ce58ad9ed4ca842dc552cd1 (diff) | |
download | pkgsrc-c187f838d2c4ad5815ec0df08efc8351829b171a.tar.gz |
Add Debian patch to fix a buffer overflow in the XPM file loader.
Bump package revision.
Diffstat (limited to 'graphics/imlib2/patches')
-rw-r--r-- | graphics/imlib2/patches/patch-aa | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/imlib2/patches/patch-aa b/graphics/imlib2/patches/patch-aa new file mode 100644 index 00000000000..78512bd8cfa --- /dev/null +++ b/graphics/imlib2/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.12 2008/11/23 18:41:16 tron Exp $ + +--- src/modules/loaders/loader_xpm.c.orig 2008-10-21 03:32:51.000000000 +0100 ++++ src/modules/loaders/loader_xpm.c 2008-11-23 18:36:37.000000000 +0000 +@@ -253,8 +253,8 @@ + return 0; + } + ptr = im->data; +- end = ptr + (sizeof(DATA32) * w * h); + pixels = w * h; ++ end = ptr + pixels; + } + else + { |