]> git.proxmox.com Git - mirror_frr.git/commit
isisd: fix some crashes with --tcli
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 6 Nov 2020 13:02:16 +0000 (10:02 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 23 Nov 2020 18:22:36 +0000 (15:22 -0300)
commitdb0a0f2e7b9c4bb7e52e5a12b47b7c2850097cb8
tree88f01d8bb3eb0fa50fd37c2afaf1dfe3eaa1e50f
parente33b95b4bb0afa46b89c3335443a9c316436fc9c
isisd: fix some crashes with --tcli

The "ifp" variable returned by nb_running_get_entry() might be
NULL when using the transactional CLI mode. Make the required
modifications to avoid null pointer dereferences.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
isisd/isis_cli.c