diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/zebra/Makefile | 2 | ||||
-rw-r--r-- | net/zebra/files/patch-remote_dos | 23 |
2 files changed, 24 insertions, 1 deletions
diff --git a/net/zebra/Makefile b/net/zebra/Makefile index 755bc86a1777..ccdd83be4500 100644 --- a/net/zebra/Makefile +++ b/net/zebra/Makefile @@ -7,7 +7,7 @@ PORTNAME= zebra PORTVERSION= 0.93b -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= net ipv6 MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/ \ ftp://ftp.ripe.net/mirrors/sites/ftp.zebra.org/pub/zebra/ \ diff --git a/net/zebra/files/patch-remote_dos b/net/zebra/files/patch-remote_dos new file mode 100644 index 000000000000..ad34a751beea --- /dev/null +++ b/net/zebra/files/patch-remote_dos @@ -0,0 +1,23 @@ +--- lib/vty.c.orig Sun Aug 18 15:49:50 2002 ++++ lib/vty.c Thu Nov 20 22:17:46 2003 +@@ -1138,13 +1138,16 @@ + 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') |