]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: fix memory handling in isis_adj_process_threeway()
authorMark Stapp <mjs@cisco.com>
Fri, 9 Aug 2024 14:08:21 +0000 (10:08 -0400)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Mon, 12 Aug 2024 19:02:07 +0000 (19:02 +0000)
commit010817a19548733c9b970e01a44cb6c2a14d890d
tree84dd33d2fa2ea28cb3cdaaeea77e23aad5a3971a
parent6621d8350b8d92c2770847c68206cc6c1b291482
isisd: fix memory handling in isis_adj_process_threeway()

The adj_process_threeway() api may call the adj_state_change()
api, which may delete the adj struct being examined. Change the
signature so that callers pass a ptr-to-ptr so that they will
see that deletion.

Signed-off-by: Mark Stapp <mjs@cisco.com>
(cherry picked from commit 3eb7d1641166872591554519607483f6d77657f5)
isisd/isis_adjacency.c
isisd/isis_adjacency.h
isisd/isis_pdu.c