pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/zoo Add a patch for CVE-2006-0855 via Gentoo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1738fd4bbaa
branches:  trunk
changeset: 516344:c1738fd4bbaa
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Wed Jul 19 19:34:37 2006 +0000

description:
Add a patch for CVE-2006-0855 via Gentoo/Fedora
Bump to nb2

diffstat:

 archivers/zoo/Makefile         |   4 ++--
 archivers/zoo/distinfo         |   3 ++-
 archivers/zoo/patches/patch-ak |  23 +++++++++++++++++++++++
 3 files changed, 27 insertions(+), 3 deletions(-)

diffs (55 lines):

diff -r 624e777030af -r c1738fd4bbaa archivers/zoo/Makefile
--- a/archivers/zoo/Makefile    Wed Jul 19 19:14:37 2006 +0000
+++ b/archivers/zoo/Makefile    Wed Jul 19 19:34:37 2006 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.26 2006/06/18 07:04:16 rillig Exp $
+# $NetBSD: Makefile,v 1.27 2006/07/19 19:34:37 adrianp Exp $
 
 DISTNAME=      zoo-2.10pl1
 PKGNAME=       zoo-2.10.1
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    archivers
 MASTER_SITES=  ftp://ftp.kiarchive.ru/pub/unix/arcers/
 
diff -r 624e777030af -r c1738fd4bbaa archivers/zoo/distinfo
--- a/archivers/zoo/distinfo    Wed Jul 19 19:14:37 2006 +0000
+++ b/archivers/zoo/distinfo    Wed Jul 19 19:34:37 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2006/06/10 17:18:48 adrianp Exp $
+$NetBSD: distinfo,v 1.8 2006/07/19 19:34:37 adrianp Exp $
 
 SHA1 (zoo-2.10pl1.tar.gz) = c02d96148ee57df01596d0c8d07a3e327b821600
 RMD160 (zoo-2.10pl1.tar.gz) = 971d388b8cb29def1e4e31011463563e91c3d700
@@ -13,3 +13,4 @@
 SHA1 (patch-ah) = af3d79f9dd42f080863c6b672d9ca504c2bf79df
 SHA1 (patch-ai) = 87b3f07ec542b554a3ba1744f435e9be2200ed54
 SHA1 (patch-aj) = a210f34c8d0ea713d3a92d187c395b7b6ef2c128
+SHA1 (patch-ak) = 40f83eccc77d54af5130d78bcd2d9af1d7cc54a9
diff -r 624e777030af -r c1738fd4bbaa archivers/zoo/patches/patch-ak
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/zoo/patches/patch-ak    Wed Jul 19 19:34:37 2006 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-ak,v 1.1 2006/07/19 19:34:37 adrianp Exp $
+
+--- misc.c.orig        1991-07-16 16:52:54.000000000 +0100
++++ misc.c
+@@ -135,11 +135,17 @@ if available, else the short filename is
+ char *fullpath (direntry)
+ struct direntry *direntry;
+ {
+-      static char result[PATHSIZE];
++      static char result[PATHSIZE+LFNAMESIZE+12]; /* Room for enough space.*/
+       combine (result,
+                               direntry->dirlen != 0 ? direntry->dirname : "", 
+                               (direntry->namlen != 0) ? direntry->lfname : direntry->fname
+                         );
++
++      if (strlen (result) >= PATHSIZE) {
++              prterror ('f', "Combined dirname and filename too long!\n");
++              *result = '\0';
++      }
++
+       return (result);
+ }
+ 



Home | Main Index | Thread Index | Old Index