]> git.puffer.fish Git - matthieu/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>
Sat, 20 Oct 2018 15:39:05 +0000 (12:39 -0300)
commit2eab13249cfea60f5788ac4393d2096e63d19e22
tree494a6a58bb35ca7c48255b80633db660934b3e24
parent68badf70b19dd0977966f267acf98cd8970260dc
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