[Quagga-bugs] [Bug 307] ospfd segfaulting

bugzilla-daemon at allevil.dishone.st bugzilla-daemon at allevil.dishone.st
Mon Oct 16 01:47:58 IST 2006


Please do not reply directly to this email. All additional  
comments should be made in the comments box of this bug  
report.  
  
http://bugzilla.quagga.net/show_bug.cgi?id=307  
  




------- Additional Comments From skennedy at vcn.com  2006-10-13 16:08 -------
I looked over the CVS version and it doesn't appear to have the changes I
thought it would.

The offending line of code is

   return (ifp->flags & (IFF_LOOPBACK|IFF_NOXMIT|IFF_VIRTUAL));

in the if_is_loopback() function in lib/if.c.  Obviously, ifp->flags must have
an invalid value.  I still don't see any error-checking in this function or in
the function that's calling it (ospf_if_is_enable() in ospfd/ospf_interface.c)
in the CVS version.  What exactly was changed to fix this if it wasn't
error-checking?

------- Additional Comments From paul at dishone.st  2006-10-16 00:47 -------
Well, ifp is NULL:

#0  0x28113f86 in if_is_loopback (ifp=0x0) at if.c:367

which shouldn't happen, oi->ifp should always be valid. This is likely fixed in
0.99.5+ - please test that.
  
  
  
  
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the Quagga-bugs mailing list