]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: fix crash in the adjacency get_next() NB callback
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 7 May 2020 15:41:12 +0000 (12:41 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Sat, 16 May 2020 02:47:43 +0000 (23:47 -0300)
commite3c19b8145b2a45b1591cd72d19a5a913b61c921
treea70db84b1ea56b0b4dc62c640cb2b1743daaf4fe
parenta6943f9dab135bea83d2192210de55b8523427c9
isisd: fix crash in the adjacency get_next() NB callback

Add a null check to solve the problem (circuit->u.bc.adjdb[level - 1]
is guaranteed to be non-null only on L1/L2 areas).

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