]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: Track wait_timer and disable when needed
authorDonald Sharp <sharpd@nvidia.com>
Tue, 26 Jan 2021 13:10:49 +0000 (08:10 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 15 Feb 2021 21:37:59 +0000 (16:37 -0500)
commit1f6785aa60cc57a5c8d5de98c9c09a344a0c9262
tree8c5bf703f7c9e260a8675a48c4a483bf6fbbf996
parent15e070f6448870c98c030b6b5013ad8750d8918b
ospf6d: Track wait_timer and disable when needed

When removing ospfv3 from an interface that has been previously
put into wait state, there is a possible use after free of the
oi because the wait_timer could have been started for the interface.
This is because the wait_timer was not tracked by the interface
and we just created a thread for it without storing the thread
pointer.

Issue: #7932
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
ospf6d/ospf6_interface.c
ospf6d/ospf6_interface.h