crash in ospf lsupd/dbdes (only if authentication enabled?)

Kenth Eriksson Kenth.Eriksson at infinera.com
Wed Jan 8 14:51:25 CET 2020


On Wed, 2020-01-08 at 14:09 +0100, Ondrej Zajicek wrote:
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
> 
> 
> On Wed, Jan 08, 2020 at 12:46:14PM +0000, Kenth Eriksson wrote:
> > On Wed, 2020-01-08 at 13:25 +0100, Ondrej Zajicek wrote:
> > > What do you have in ifa->tx_length and ifa->tx_hdrlen?
> > 
> > *plen=1504, ifa->sk->tbsize=1492, auth_len=32, ifa->tx_length=1492,
> > ifa->tx_hdrlen=20
> 
> Seems like tx_hdrlen is computed before autype and passwords fields are
> filled. I will send you patch.
> 
Yes I think you are right. Probably my OSPF interface does not exist in
the kernel when the config is set. And the sequence looks wrong in
ospf_iface_new.

I'm testing the patch I posted on the list now. 



More information about the Bird-users mailing list