]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: use the vrf_bitmap_*() helper functions when necessary
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 19 Oct 2018 18:55:22 +0000 (15:55 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 17 Dec 2018 14:14:05 +0000 (12:14 -0200)
commit57f416e2a92e1dd8f8d254a59d355437cac679fc
tree421b39e7365924b35f4fd88c0ca9d4c60f1d1639
parent4041a456f676d5d5da0ada611be9d041a8bfbc9a
bgpd: use the vrf_bitmap_*() helper functions when necessary

zclient->redist[afi][type] is a hash table and not an integer since a
while ago when VRF support was introduced. As such, zclient->redist[][]
should never be manipulated directly, the vrf_bitmap_*() helper functions
should be used instead. This fixes a few crashes found by the CLI fuzzer.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
bgpd/rfapi/vnc_zebra.c