]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Fix crash in 'show ip bgp nexthop'
authorPaul Jakma <paul.jakma@hpe.com>
Tue, 6 Sep 2016 10:20:27 +0000 (11:20 +0100)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 18 Oct 2016 12:39:23 +0000 (08:39 -0400)
commit5f753f56cf350af52257780a502b35edf22d4bf8
tree0f3d460ffa35197cfe24d69f7d217422e711c8b1
parentcdeef0bd9a8e407f17e59330aeabee34f8f1ef4f
bgpd: Fix crash in 'show ip bgp nexthop'

* bgp_nexthop.c: (show_ip_bgp_nexthop_table) the AFIs are sparse, and start
  from 1, check there's a table before derefing so as not to crash.
bgpd/bgp_nexthop.c