]> git.proxmox.com Git - mirror_frr.git/commit - isisd/isisd.c
isisd: Prevent use after free for isis_adj_state_change
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 18 Apr 2020 00:06:07 +0000 (20:06 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 18 Apr 2020 12:30:33 +0000 (08:30 -0400)
commit16167b31469c1cf3c6203495e639cbf640ef45f1
treeedcdebd5b8d2835dc41b039b62c4cabefe986a76
parent1be1ca35c7be8a4b0813542fa8df2db2e1bfddfc
isisd: Prevent use after free for isis_adj_state_change

When we call isis_adj_state_change with ISIS_ADJ_DOWN
we free the pointer, but we were still using the pointer
after it was freed.  Cleanup the api to prevent this.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
isisd/isis_adjacency.c
isisd/isis_adjacency.h
isisd/isis_bfd.c
isisd/isis_pdu.c
isisd/isisd.c