]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix NULL pointer dereference bug
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 19 Oct 2018 18:55:03 +0000 (15:55 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Sat, 20 Oct 2018 15:39:05 +0000 (12:39 -0300)
commit7f5f853d0b8b71c84dad23c1b3d883f6962cd26f
tree35ea36c45a64f72ade8e026f61a73598ca280738
parent8a00500231af4885ea38e69cd2fb9a83a9bbe771
bgpd: fix NULL pointer dereference bug

Other parts of the rfapi code check if the 'rfg->rfapi_import_table'
pointer is NULL or not before using it. Do the same here to fix a crash
detected by the CLI fuzzer.

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