Attached is a patch for a crash bug in ospfd. The patch has been
tested against quagga-0.96.4-20040317 on OpenBSD3.4.
The bug is a seg fault in ospfd upon invoking "write (term|mem)" after
configuring ospfd to redistribute bgp-learned routes with a directive
as in the following ospf config excerpt:
router ospf
ospf router-id 192.168.1.1
redistribute connected metric 70 metric-type 1
+ redistribute bgp metric 70 metric-type 1
network 192.168.1.0/24 area 0.0.0.0
The "redistribute bgp" is successful - routes learned via bgp are
indeed redistributed into ospf, but ospfd seg faults upon a "write
(term|mem|file)" at this point. See patch for details.
Mike
tested against quagga-0.96.4-20040317 on OpenBSD3.4.
The bug is a seg fault in ospfd upon invoking "write (term|mem)" after
configuring ospfd to redistribute bgp-learned routes with a directive
as in the following ospf config excerpt:
router ospf
ospf router-id 192.168.1.1
redistribute connected metric 70 metric-type 1
+ redistribute bgp metric 70 metric-type 1
network 192.168.1.0/24 area 0.0.0.0
The "redistribute bgp" is successful - routes learned via bgp are
indeed redistributed into ospf, but ospfd seg faults upon a "write
(term|mem|file)" at this point. See patch for details.
Mike