]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix bug while iterating over VPN table
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 19 Oct 2018 18:55:12 +0000 (15:55 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 17 Dec 2018 14:14:05 +0000 (12:14 -0200)
commit4041a456f676d5d5da0ada611be9d041a8bfbc9a
treeee934cfaf9551e0f295b2755397a2fb6cf7b2aa8
parentc084724fbcf38c672a3c08528c6f41b37381e9c2
bgpd: fix bug while iterating over VPN table

The routing table data structure can create intermediate route nodes
during its normal operation, so we always need to check if the 'info'
pointer of a route node is NULL or not before dereferencing it.

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