]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: add a NULL check to prevent a crash in the rfapi code
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 19 Oct 2018 18:54:57 +0000 (15:54 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 17 Dec 2018 14:14:05 +0000 (12:14 -0200)
commitd0a755a372ef2c24f921c1cc2c4eb20b48a75a9a
tree75cbca3e74e8ff74eff279600aa89c1274094ac2
parent7dd4f30dc5723bb26d58a2ec8426cd1d68db02c8
bgpd: add a NULL check to prevent a crash in the rfapi code

The rfapiDeleteRemotePrefixesIt() function checks on several places if
'p' is NULL or not. Introduce an additional NULL check to prevent a
crash from happening.

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