]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Cleanup SA error in ignoring return from function
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 5 Dec 2017 15:09:36 +0000 (10:09 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 11 Dec 2017 13:42:51 +0000 (08:42 -0500)
commitff6566f3efaad50d09f0327953b57f75dc607de0
tree7e5fa007808959afd415754e281291145dd26e8a
parent2fd89ed7fc4b935cc9afeb6848fb74c24f1f75cd
bgpd: Cleanup SA error in ignoring return from function

Ignoring the return from argv_find_and_parse_afi
makes the SA system assume that you could pass a AFI_MAX
value to bgp_show_route.  Which in turn would cause
an array out of bounds read.

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