diff options
author | wiz <wiz@pkgsrc.org> | 2003-11-18 16:34:13 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-11-18 16:34:13 +0000 |
commit | 2ac60416e49950aa8538de44c1a87c0f33b7a636 (patch) | |
tree | 76e641b5caece19f04852788a0f85cac8cb0f344 /net/zebra | |
parent | d870fef398e75ad79bd4c4b4feb80f4cd04c0ded (diff) | |
download | pkgsrc-2ac60416e49950aa8538de44c1a87c0f33b7a636.tar.gz |
Fix a security problem wrt telnet control characters. Bump PKGREVISION.
Diffstat (limited to 'net/zebra')
-rw-r--r-- | net/zebra/Makefile | 3 | ||||
-rw-r--r-- | net/zebra/distinfo | 3 | ||||
-rw-r--r-- | net/zebra/patches/patch-ah | 25 |
3 files changed, 29 insertions, 2 deletions
diff --git a/net/zebra/Makefile b/net/zebra/Makefile index fba95575e3f..989a4d6005b 100644 --- a/net/zebra/Makefile +++ b/net/zebra/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.58 2003/08/13 07:27:06 itojun Exp $ +# $NetBSD: Makefile,v 1.59 2003/11/18 16:34:13 wiz Exp $ # Based on KAME Id: Makefile,v 1.1.2.1.2.1.10.2 1999/01/05 11:03:50 itojun Exp # DISTNAME= zebra-0.93b +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} diff --git a/net/zebra/distinfo b/net/zebra/distinfo index 5595f649948..af2b8326405 100644 --- a/net/zebra/distinfo +++ b/net/zebra/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2002/09/13 08:41:49 itojun Exp $ +$NetBSD: distinfo,v 1.11 2003/11/18 16:34:13 wiz Exp $ SHA1 (zebra-0.93b.tar.gz) = bcaafd4a064ba7aa1d60b3a6144eb778f8ae237a Size (zebra-0.93b.tar.gz) = 1340359 bytes @@ -9,3 +9,4 @@ SHA1 (patch-ad) = fb20a6b64a9e07dd94bd62b01e4b2f17a437d840 SHA1 (patch-ae) = bad18eda9b4ffd4cc22666b26573858e7de84a7d SHA1 (patch-af) = d045b85bfc8f8d5f6894e2333b0a799661997f90 SHA1 (patch-ag) = 62b5e4f28c1d13cb1f9c772250529aefe0511f90 +SHA1 (patch-ah) = 31383b2529bb1d8b42ade582f1c4352e9ccab1d1 diff --git a/net/zebra/patches/patch-ah b/net/zebra/patches/patch-ah new file mode 100644 index 00000000000..b1a0854cd20 --- /dev/null +++ b/net/zebra/patches/patch-ah @@ -0,0 +1,25 @@ +$NetBSD: patch-ah,v 1.1 2003/11/18 16:34:13 wiz Exp $ + +--- lib/vty.c.orig Sun Aug 18 16:49:50 2002 ++++ lib/vty.c +@@ -1138,13 +1138,16 @@ vty_telnet_option (struct vty *vty, unsi + break; + case SE: + { +- char *buffer = (char *)vty->sb_buffer->head->data; +- int length = vty->sb_buffer->length; ++ char *buffer; ++ int length; + +- if (buffer == NULL) ++ if (!vty->iac_sb_in_progress) + return 0; + +- if (!vty->iac_sb_in_progress) ++ buffer = (char *)vty->sb_buffer->head->data; ++ length = vty->sb_buffer->length; ++ ++ if (buffer == NULL) + return 0; + + if (buffer[0] == '\0') |