]> 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>
Sat, 20 Oct 2018 15:39:05 +0000 (12:39 -0300)
commit8a00500231af4885ea38e69cd2fb9a83a9bbe771
tree5d57475b9b5a5115b027ecf92ba72e43c943e0f8
parentaec9d23fb4bdfbfe5beb4b0fd5e2f51d12777d69
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