]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Prevent crash in dad auto recovery 3853/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 23 Feb 2019 00:19:18 +0000 (19:19 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 23 Feb 2019 00:23:27 +0000 (19:23 -0500)
commit8a3bc58ed891c693a032258b6c4dd9b3c01a6eb4
tree8d125312e7a714428859342fc8ef952a08d66408
parentf4756ad73738d3aff13b6dfb5e74522913f12c57
zebra: Prevent crash in dad auto recovery

Commit: 6005fe55bce1c9cd54f4f7773fc2b0e15a99008f
Introduced a crash with zebra looking up either the
nbr structure or the mac structure.  This is because
the zvni used is NULL and we eventually call a hash_lookup
call that would cause a NULL dereference.  Partially
revert this commit to original behavior.

Problems found via clang Static Analyzer.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zebra_vxlan.c