From nobody@FreeBSD.org  Wed Feb  8 03:57:46 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5FB0116A420
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  8 Feb 2006 03:57:46 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3280243D45
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  8 Feb 2006 03:57:46 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k183vkQY031726
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 8 Feb 2006 03:57:46 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k183vkJX031725;
	Wed, 8 Feb 2006 03:57:46 GMT
	(envelope-from nobody)
Message-Id: <200602080357.k183vkJX031725@www.freebsd.org>
Date: Wed, 8 Feb 2006 03:57:46 GMT
From: TANABE Hiroyasu <h@cosat.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: quagga 0.99.3 vty does not work
X-Send-Pr-Version: www-2.3

>Number:         93015
>Category:       ports
>Synopsis:       quagga 0.99.3 vty does not work
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 08 04:00:20 GMT 2006
>Closed-Date:    Fri Feb 10 11:47:11 GMT 2006
>Last-Modified:  Fri Feb 10 11:47:11 GMT 2006
>Originator:     TANABE Hiroyasu
>Release:        FreeBSD 6.0-RELEASE-p4
>Organization:
>Environment:
FreeBSD usen.mimori.org 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #1: Thu Jan 26 19:19:42 JST 2006     h@usen.mimori.org:/home/obj/usr/src/sys/MIMORI  i386

>Description:
With quagga 0.99.3, connecting to vty of quagga cause signal 11 and
the process will go down.  
>How-To-Repeat:
% telnet localhost zebra
zebra says:
ZEBRA: Received signal 11 at 1139370361 (si_addr 0xc); aborting...

% telnet localhost ripngd
ripngd says:
RIPNG: Received signal 11 at 1139370365 (si_addr 0xc); aborting...

>Fix:
no idea.
I will use quagga 0.98.5.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Feb 8 22:21:34 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93015 

From: Boris Kovalenko <boris@tagnet.ru>
To: bug-followup@FreeBSD.org,  h@cosat.com
Cc:  
Subject: Re: ports/93015: quagga 0.99.3 vty does not work
Date: Thu, 09 Feb 2006 09:41:01 +0500

 This is a multi-part message in MIME format.
 --------------010208070901070807070409
 Content-Type: text/plain; charset=KOI8-R; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Hello!
 
 	Please put this patches to /usr/ports/net/quagga/files (replace 
 existing one), recompile and check it is working for You.
 
 With respect,
 	Boris
 
 --------------010208070901070807070409
 Content-Type: text/plain;
  name="patch-ospfd-ospf_api.c"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="patch-ospfd-ospf_api.c"
 
 --- ospfd/ospf_api.c.orig	Thu Nov 24 21:51:16 2005
 +++ ospfd/ospf_api.c	Wed Feb  8 11:49:31 2006
 @@ -68,7 +68,7 @@
    struct opaque_lsa
    {
      struct lsa_header header;
 -    u_char mydata[];
 +    u_char mydata[0];
    };
  
    struct opaque_lsa *olsa;
 
 --------------010208070901070807070409
 Content-Type: text/plain;
  name="patch-lib-buffer.c"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="patch-lib-buffer.c"
 
 --- lib/buffer.c.orig	Fri Feb  3 13:24:03 2006
 +++ lib/buffer.c	Fri Feb  3 13:24:15 2006
 @@ -53,7 +53,7 @@
    size_t sp;
  
    /* Actual data stream (variable length). */
 -  unsigned char data[];  /* real dimension is buffer->size */
 +  unsigned char data[0];  /* real dimension is buffer->size */
  };
  
  /* It should always be true that: 0 <= sp <= cp <= size */
 
 --------------010208070901070807070409--

From: "TANABE Hiroyasu" <h@cosat.com>
To: "'Boris Kovalenko'" <boris@tagnet.ru>,
	<bug-followup@FreeBSD.org>
Cc:  
Subject: RE: ports/93015: quagga 0.99.3 vty does not work
Date: Thu, 9 Feb 2006 14:13:10 +0900

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_0172_01C62D82.F4ECDD00
 Content-Type: text/plain;
 	charset="us-ascii"
 Content-Transfer-Encoding: 7bit
 
 Hello,
 
 Thank you for your patch
 and I'm checking the patched quagga.
 It is working now.
 
 Thanks,
 
 Hiroyasu
 
 ------=_NextPart_000_0172_01C62D82.F4ECDD00
 Content-Type: text/plain;
 	name="patch-ospfd-ospf_api.c"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment;
 	filename="patch-ospfd-ospf_api.c"
 
 --- ospfd/ospf_api.c.orig	Thu Nov 24 21:51:16 2005=0A=
 +++ ospfd/ospf_api.c	Wed Feb  8 11:49:31 2006=0A=
 @@ -68,7 +68,7 @@=0A=
    struct opaque_lsa=0A=
    {=0A=
      struct lsa_header header;=0A=
 -    u_char mydata[];=0A=
 +    u_char mydata[0];=0A=
    };=0A=
  =0A=
    struct opaque_lsa *olsa;=0A=
 
 ------=_NextPart_000_0172_01C62D82.F4ECDD00
 Content-Type: text/plain;
 	name="patch-lib-buffer.c"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment;
 	filename="patch-lib-buffer.c"
 
 --- lib/buffer.c.orig	Fri Feb  3 13:24:03 2006=0A=
 +++ lib/buffer.c	Fri Feb  3 13:24:15 2006=0A=
 @@ -53,7 +53,7 @@=0A=
    size_t sp;=0A=
  =0A=
    /* Actual data stream (variable length). */=0A=
 -  unsigned char data[];  /* real dimension is buffer->size */=0A=
 +  unsigned char data[0];  /* real dimension is buffer->size */=0A=
  };=0A=
  =0A=
  /* It should always be true that: 0 <=3D sp <=3D cp <=3D size */=0A=
 
 ------=_NextPart_000_0172_01C62D82.F4ECDD00--
 

From: "John" <freebsd@moe.co.uk>
To: bug-followup@FreeBSD.org, h@cosat.com
Cc:  
Subject: Re: ports/93015: quagga 0.99.3 vty does not work
Date: Thu, 9 Feb 2006 13:35:26 -0000 (GMT)

 Hi,
 
 I had the same problem on 5.4.  zebra/ospfd (sig 11 in logs) would crash
 when vtysh was executed.  The patches appear to have fixed this for me as
 well.
 
 I'm now just having trouble with getting bgp passworded neighbors to be
 entered via vtysh.
 
 Cheers,
 John
 

From: Boris Kovalenko <boris@tagnet.ru>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/93015: quagga 0.99.3 vty does not work
Date: Thu, 09 Feb 2006 19:25:13 +0500

 Hello!
 
 	Fixed by PR/93094
 
 With respect,
 	Boris
State-Changed-From-To: feedback->closed 
State-Changed-By: sem 
State-Changed-When: Fri Feb 10 11:47:10 UTC 2006 
State-Changed-Why:  
Superseded with ports/93094 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93015 
>Unformatted:
