diff options
author | wiz <wiz@pkgsrc.org> | 2015-01-06 14:12:45 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-01-06 14:12:45 +0000 |
commit | 2cf37371f02029cfda46b379eea696044e100e0c (patch) | |
tree | 09476d6e2c2da69a92586b081c033bfef2cf2a97 /archivers | |
parent | 08b2fe9323c3aba341ce5334a3c282e75732d50a (diff) | |
download | pkgsrc-2cf37371f02029cfda46b379eea696044e100e0c.tar.gz |
Increase buffer size to avoid overflow found in
http://seclists.org/oss-sec/2014/q4/497
Bump PKGREVISION.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/unzip/Makefile | 4 | ||||
-rw-r--r-- | archivers/unzip/distinfo | 3 | ||||
-rw-r--r-- | archivers/unzip/patches/patch-list.c | 16 |
3 files changed, 20 insertions, 3 deletions
diff --git a/archivers/unzip/Makefile b/archivers/unzip/Makefile index 89e24d2a8a2..6ab56cfcc83 100644 --- a/archivers/unzip/Makefile +++ b/archivers/unzip/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.87 2014/12/25 16:48:33 wiz Exp $ +# $NetBSD: Makefile,v 1.88 2015/01/06 14:12:45 wiz Exp $ DISTNAME= unzip60 PKGNAME= unzip-6.0 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= archivers MASTER_SITES= ftp://ftp.info-zip.org/pub/infozip/src/ EXTRACT_SUFX= .tgz diff --git a/archivers/unzip/distinfo b/archivers/unzip/distinfo index a50683c2cbd..6d39c526dec 100644 --- a/archivers/unzip/distinfo +++ b/archivers/unzip/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.25 2014/12/25 16:48:33 wiz Exp $ +$NetBSD: distinfo,v 1.26 2015/01/06 14:12:45 wiz Exp $ SHA1 (unzip60.tgz) = abf7de8a4018a983590ed6f5cbd990d4740f8a22 RMD160 (unzip60.tgz) = 48af66606e9472e45fbb94bc4e285da23d1b89ba @@ -7,5 +7,6 @@ SHA1 (patch-ab) = 672635c469e0a53ac9808f8155ee38643a8acf69 SHA1 (patch-ac) = 27b91401d4d5ecc3842c91dc49c08f42c8646154 SHA1 (patch-extract.c) = 8dda32c31226129464b9ef85c62051acded4642e SHA1 (patch-fileio.c) = 910ddb3b847cae92326697a399234b2948555534 +SHA1 (patch-list.c) = 7aa261ecef5e5cc14ad387070560730ff419d635 SHA1 (patch-process.c) = d6e6ed05ef7c2977353e848d9e9cba2877577812 SHA1 (patch-unix_unxcfg.h) = b2831f38b2245dacedd4eb2eef12ee1e3cf20613 diff --git a/archivers/unzip/patches/patch-list.c b/archivers/unzip/patches/patch-list.c new file mode 100644 index 00000000000..43396fe0684 --- /dev/null +++ b/archivers/unzip/patches/patch-list.c @@ -0,0 +1,16 @@ +$NetBSD: patch-list.c,v 1.1 2015/01/06 14:12:45 wiz Exp $ + +Big-hammer fix for +http://seclists.org/oss-sec/2014/q4/497 + +--- list.c.orig 2009-02-08 17:11:34.000000000 +0000 ++++ list.c +@@ -116,7 +116,7 @@ int list_files(__G) /* return PK-type + ulg acl_size, tot_aclsize=0L, tot_aclfiles=0L; + #endif + min_info info; +- char methbuf[8]; ++ char methbuf[80]; + static ZCONST char dtype[]="NXFS"; /* see zi_short() */ + static ZCONST char Far method[NUM_METHODS+1][8] = + {"Stored", "Shrunk", "Reduce1", "Reduce2", "Reduce3", "Reduce4", |