]> git.proxmox.com Git - mirror_frr.git/commit
ospfd: cancel SR thread at shutdown
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 6 Mar 2018 18:42:53 +0000 (13:42 -0500)
committerChristian Franke <chris@opensourcerouting.org>
Wed, 7 Mar 2018 12:31:58 +0000 (13:31 +0100)
commit8431215f6ea167d3741ced597b8548b45f4b265e
treec234488c4c4c5e87dc07f423ea514f3e130d9b39
parentc277904b40a2133af8e3d4334d5097fc4213a2d3
ospfd: cancel SR thread at shutdown

Otherwise if it is scheduled the thread pointer will be accessed after
the shutdown task finishes accessing, having deleted the structure that
owns said pointer, which causes a heap UAF.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
ospfd/ospfd.c