pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/imlib2 Add Debian patch to fix a buffer overf...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff1202e6d638
branches:  trunk
changeset: 550522:ff1202e6d638
user:      tron <tron%pkgsrc.org@localhost>
date:      Sun Nov 23 18:41:16 2008 +0000

description:
Add Debian patch to fix a buffer overflow in the XPM file loader.
Bump package revision.

diffstat:

 graphics/imlib2/Makefile         |   3 ++-
 graphics/imlib2/distinfo         |   3 ++-
 graphics/imlib2/patches/patch-aa |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r b4cf02ecdc46 -r ff1202e6d638 graphics/imlib2/Makefile
--- a/graphics/imlib2/Makefile  Sun Nov 23 17:33:27 2008 +0000
+++ b/graphics/imlib2/Makefile  Sun Nov 23 18:41:16 2008 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.47 2008/10/30 11:26:25 tron Exp $
+# $NetBSD: Makefile,v 1.48 2008/11/23 18:41:16 tron Exp $
 
 DISTNAME=      imlib2-1.4.2
+PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
 
diff -r b4cf02ecdc46 -r ff1202e6d638 graphics/imlib2/distinfo
--- a/graphics/imlib2/distinfo  Sun Nov 23 17:33:27 2008 +0000
+++ b/graphics/imlib2/distinfo  Sun Nov 23 18:41:16 2008 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.22 2008/10/30 11:26:26 tron Exp $
+$NetBSD: distinfo,v 1.23 2008/11/23 18:41:16 tron Exp $
 
 SHA1 (imlib2-1.4.2.tar.gz) = 769ea1da26774cd7531d1d66432cf8d7d7b30c2b
 RMD160 (imlib2-1.4.2.tar.gz) = 9b1f40ee392c1e27c6a75bbf7e8c7fb379e74695
 Size (imlib2-1.4.2.tar.gz) = 932684 bytes
+SHA1 (patch-aa) = deb91537edb7c0ff44dfb2be2ad377f960f65c06
 SHA1 (patch-ab) = 47f0165c3a4abfc6de1078768104b8e2acd2e9b5
 SHA1 (patch-ac) = bd81a8f1dfaacb43a4f62a187c4d00c43be5a7e3
 SHA1 (patch-ad) = adf301fe0179aa1ab05fc54bb7ab706ee97ab7a7
diff -r b4cf02ecdc46 -r ff1202e6d638 graphics/imlib2/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/imlib2/patches/patch-aa  Sun Nov 23 18:41:16 2008 +0000
@@ -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
+                          {



Home | Main Index | Thread Index | Old Index