]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospfd.c
ospfd: cancel SR thread at shutdown
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 6 Mar 2018 18:42:53 +0000 (13:42 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 6 Mar 2018 18:42:53 +0000 (13:42 -0500)
commit45a4385612b5d9b57a0c862750339a0e2ae66740
tree331429475e1c9f23766cff64abb2b4aa14c30314
parentdefd0965f4a85a392e29032f712617e3c617596d
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