]> git.puffer.fish Git - mirror/frr.git/commit
nhrpd: Fix clang SA about null deref
authorDonald Sharp <sharpd@nvidia.com>
Sun, 14 Feb 2021 21:04:16 +0000 (16:04 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Sun, 14 Feb 2021 21:04:16 +0000 (16:04 -0500)
commit8ca7a3ed38ae84d0f8d4870f789362522544542e
tree29640e3913d7578ee3ce4dd190bce267e2fab7ae
parent0fec6da17230d4c24298dc4b28f85f11db4d4e72
nhrpd: Fix clang SA about null deref

Clang was complaining when running SA that the nhrpd_privs.change
function was null.  It just does not fully understand how things
are setup.  Add a assert to make it happy.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
nhrpd/nhrp_main.c