]> git.proxmox.com Git - mirror_frr.git/commit
zebra: Fix NULL check in zebra_nhg_rib_find()
authorStephen Worley <sworley@cumulusnetworks.com>
Tue, 3 Sep 2019 19:10:21 +0000 (15:10 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:43 +0000 (11:13 -0400)
commite9f6516243f58a856bc467a2ca95730cb7cabfc7
tree5fece1ff8974c1f52b28434164a7b8f7ba6eadc4
parent9c387098eb147a628857982639258cf7d4d9a090
zebra: Fix NULL check in zebra_nhg_rib_find()

Check both the nhg and nexthop are not NULL before passing
them to be hashed. Clang SA caught this.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/zebra_nhg.c