]> git.puffer.fish Git - mirror/frr.git/commit
zebra: handle depends_find() NULL nexthop
authorStephen Worley <sworley@cumulusnetworks.com>
Tue, 29 Oct 2019 01:37:05 +0000 (21:37 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Tue, 12 Nov 2019 15:28:46 +0000 (10:28 -0500)
commit606fa9e58dd5b5b2e6eceb23f80d30a0376eba6a
tree56cef0b35f6b61d2a61815b449dbed29d637c488
parentff5d5005a2f1851cf337885cb7ecb3fe11b42f6b
zebra: handle depends_find() NULL nexthop

SA warned us lookup could be NULL dereferenced in some
paths. Handle the case where we are passed a NULL
nexthop before we try to copy it.

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