]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Deref after null check in bgp_evpn_vty.c 6803/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 27 Jul 2020 11:10:41 +0000 (07:10 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 27 Jul 2020 11:10:41 +0000 (07:10 -0400)
commit5f140efeeffdd9951456701b78a70a71b879be5a
tree392c1425b7610e45c2e33f874780f6758e84349b
parent7b3a38053141a3ebfc5b039bc191c5e08d8b9cef
bgpd: Deref after null check in bgp_evpn_vty.c

Coverity has noticed that we are using bgp_evpn after
we have already NULL checked it one time.  Add an assert
to make Coverity happy here, if we get to this point
something terrible has happened.

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