]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: Fix oi->nbr_self pointer dereference
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 10 Jun 2016 18:32:22 +0000 (14:32 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 10 Jun 2016 19:08:28 +0000 (15:08 -0400)
commit888e4d326bcbcd85fea97a2835991ededc4a7ad1
tree51f722cea69b3a9b22123c9437c2f1e54f8dc16c
parentecea0cb083a757664a3c105194fba06405f96e58
ospfd: Fix oi->nbr_self pointer dereference

With commit 1b31375427008aaf980f68d95f50007f600c8ae1
we have a situation where it is possible that the
oi->nbr_self has not been properly set.  When
calling the function that sets the nbr_self data
make sure that we have a pointer that works for it.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ospfd/ospf_neighbor.c