diff options
author | tron <tron@pkgsrc.org> | 2005-03-10 10:05:32 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2005-03-10 10:05:32 +0000 |
commit | 4178410f5cc63eb6a8e267bc15c886e3d9bd2b4c (patch) | |
tree | 264aa1a8d6913d19162a1fe3dc8e16c9ed3243f8 /net/ethereal | |
parent | 91fab1932171072c44e020d5729a10ba6da9bb33 (diff) | |
download | pkgsrc-4178410f5cc63eb6a8e267bc15c886e3d9bd2b4c.tar.gz |
Fix security vulnerability in dissector for CDMA2000 A11 packets.
Bump package revision.
Diffstat (limited to 'net/ethereal')
-rw-r--r-- | net/ethereal/Makefile | 10 | ||||
-rw-r--r-- | net/ethereal/distinfo | 3 | ||||
-rw-r--r-- | net/ethereal/patches/patch-ab | 13 |
3 files changed, 23 insertions, 3 deletions
diff --git a/net/ethereal/Makefile b/net/ethereal/Makefile index f29b8f7d9f2..13169c2eb56 100644 --- a/net/ethereal/Makefile +++ b/net/ethereal/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.102 2005/01/21 00:33:24 salo Exp $ -# +# $NetBSD: Makefile,v 1.103 2005/03/10 10:05:32 tron Exp $ DISTNAME= ethereal-0.10.9 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.ethereal.com/distribution/ \ http://ethereal.planetmirror.com/distribution/ \ @@ -49,6 +49,12 @@ PTHREAD_OPTS= require USE_BUILTIN.libpcap= no .endif +# Because we patch "epan/dissectors/packet-3g-a11.c" "register.c" would +# get rebuilt which requires Python. Avoid the unnecessary overhead +# by touching the file. +post-patch: + @${TOUCH} ${WRKSRC}/epan/dissectors/register.c + .include "../../devel/glib2/buildlink3.mk" .include "../../devel/pcre/buildlink3.mk" .include "../../devel/pkgconfig/buildlink3.mk" diff --git a/net/ethereal/distinfo b/net/ethereal/distinfo index ebd1de77a15..876b9295264 100644 --- a/net/ethereal/distinfo +++ b/net/ethereal/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.34 2005/02/24 12:13:46 agc Exp $ +$NetBSD: distinfo,v 1.35 2005/03/10 10:05:32 tron Exp $ SHA1 (ethereal-0.10.9.tar.bz2) = fc27a93f4c19dcc4278968b376e0b33e7d756998 RMD160 (ethereal-0.10.9.tar.bz2) = 25085f1ff149316a3e71c4d4abdda0dcb4a07320 Size (ethereal-0.10.9.tar.bz2) = 5499000 bytes SHA1 (patch-aa) = 2ae499f52047ef84ba30403fce535cc2084e7539 +SHA1 (patch-ab) = a59a7772ca8c6e4d3b1e8e2d422ffde6f6d5a4de diff --git a/net/ethereal/patches/patch-ab b/net/ethereal/patches/patch-ab new file mode 100644 index 00000000000..bf4ba936f61 --- /dev/null +++ b/net/ethereal/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.3 2005/03/10 10:05:32 tron Exp $ + +--- epan/dissectors/packet-3g-a11.c.orig 2005-01-18 02:39:50.000000000 +0000 ++++ epan/dissectors/packet-3g-a11.c 2005-03-10 09:32:18.000000000 +0000 +@@ -312,7 +312,7 @@ + }; + #define NUM_ATTR (sizeof(attrs)/sizeof(struct radius_attribute)) + +-#define MAX_STRVAL 16 ++#define MAX_STRVAL 256 + + #define RADIUS_VENDOR_SPECIFIC 26 + #define SKIP_HDR_LEN 6 |