On Wed, Oct 24, 2018 at 05:05:10PM +0200, Alexander Velkov wrote:
> Hello bird-team,
> I have a bird v1.6.4. configuration that works fine.
> A certain set of actions leads to a segfault and a crash of the bird binary.

Hi

Thanks for the elaborate bugreport, i can reproduce the bug the attached
patch should fix it.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index 67ae094d..cea07000 100644
--- a/proto/ospf/iface.c
+++ b/proto/ospf/iface.c
@@ -1240,7 +1240,8 @@ ospf_iface_change_mtu(struct ospf_proto *p, struct ospf_iface *ifa)
 {
   /* ifa is not vlink */
 
-  OSPF_TRACE(D_EVENTS, "Interface %s changed MTU to %d", ifa->iface->mtu);
+  OSPF_TRACE(D_EVENTS, "Interface %s changed MTU to %d",
+	     ifa->ifname, ifa->iface->mtu);
 
   ifa->tx_length = ifa_tx_length(ifa);
 

Reply via email to